introduction to php
120 likes | 256 Vues
we are providing professional training in gandhinagar. .net training in gandhinagar php training in gandhinagar java training in gandhinagar ios training in gandhinagar android training in gandhinagar
introduction to php
E N D
Presentation Transcript
Introduction to php ShreedhoonInfotech PHP TRAINNING IN GANDHINAGAR
Background • PHP is server side scripting system • PHP stands for "PHP: Hypertext Preprocessor" • Syntax based on Perl, Java, and C • Very good for creating dynamic content • If you want to focus on one system for dynamic content, this is a good one to choose PHP TRAINNING IN GANDHINAGAR
History • Started as a Perl hack in 1994 by RasmusLerdorf (to handle his resume), developed to PHP/FI 2.0 • By 1997 up to PHP 3.0 with a new parser engine by ZeevSuraski and AndiGutmans • Current Version of Php is 5.6.0 Released on 28-Aug-2014. • In which all OOPs concepts are briefly taken on it. PHP TRAINNING IN GANDHINAGAR
PHP Scripts • Typically file ends in .php--this is set by the web server configuration • The PHP script starts with a <?php tag and ends with ?> Example : <?php echo “A simple PHP Script.”; ?> PHP TRAINNING IN GANDHINAGAR
PHP Scripts • You can alternatively start your PHP scripts with the <script> tag as follows : • Example : • <script language="PHP"> • echo "A simple intial script."; • </script> PHP TRAINNING IN GANDHINAGAR
PHP Scripts • If have short_open_tag enabled in its configuration file, you can use <? and ?> Example : <? echo 'this code is within short tags'; ?> PHP TRAINNING IN GANDHINAGAR
PHP Scripts • If asp_tags is enabled in the PHP configuration file, you can use <% and %> as delimiters. Example : <% echo 'You may optionally use ASP-style tags'; %> PHP TRAINNING IN GANDHINAGAR
Two Ways • You can embed sections of php inside html: • Or you can call html from php: <BODY> <?php echo "Hello World!"; ?> </BODY> <?php echo "<html><head><title>Howdy</title> … ?> PHP TRAINNING IN GANDHINAGAR
ShreedhoonInfotech Address : Shreedhoon Infotech 443, Third Floor, Sec- 16 shopping center, Nr, Petrol Pump, Gandhinagar - 382016, Gujarat, India. Phone: (+91)98-98-843264 Email: shreedhoon@gmail.com PHP TRAINNING IN GANDHINAGAR
Thank you So Much.. PHP TRAINNING IN GANDHINAGAR