Introduction About PHP :
- PHP originally stood for "Personal Home Page", it is now said to stand for "Hypertext Preprocessor" that a powerful tool for making dynamic and interactive Web pages and also commonly developer is used to create personal home pages.
- PHP was developed by Rasmus Lerdorf in 1995 .
- PHP was influenced and invented by C, Perl, Java, C++, Tcl.
- PHP is an open source software and free to download and use
- PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
File Extensions in PHP :
- PHP files can contain text, HTML tags and scripts
- PHP files are returned to the browser as plain HTML
- PHP files have a file extension of ".php", ".php3", or ".phtml"
Refer this url http://www.apachefriends.org/en/xampp.html
after download install XAMPP server in your machine [ Ex :C or D Drive] and activate the XAMPP Control Panel as in the following.
After activation of xampp server you put your php file in this path.
Ex :C:\xampp\htdocs\sample.php
You can run this program in browser following path
http://localhost/sample.php
Basic PHP Syntax :
File Name : sample.php
<?php
echo "god";
?>
output :
god

No comments:
Post a Comment