OBJECTIVE Introduction Installation Configuration Run
α Initially Personal Home Page α Now PHP Hypertext Preprocessor. α PHP is free software. α Syntax based on Perl, Java, and C and have object oriented functionality α PHP code is interpreted by a web server with a PHP processor module, which generates the resulting web page. α PHP commands can be embedded directly into an HTML source document rather than calling an external file to process data
α Syntax based on Perl, Java, and C. α PHP was started in 1994 by Rasmus Lerdorf. α Early non-released versions were used on his home page to keep track of who was looking at his online resume. α First Version in 1995 as Personal Home Page Tool α PHP is in use on over 1,000,000 sites around the world. α Latest release PHP 5.5 20 June 2013.
α PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them. α PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user. α You add, delete, modify elements within your database thru PHP. α It can encrypt data. α Create dynamic and flexible website
α Simplicity α Efficiency α Security α Flexibility α Familiarity
α PHP files have extension ".php“. α PHP file/code are executed on the server, and the result is returned to the browser as plain HTML. α Create text file and type php code inside and save with .php. α All php code goes inside <?php //type your code here ?>
α There are two way to use php α Inside the html as embedded html α Outside the html or in separate php file
α Second mostly used Open Source Database management system α It is named after co-founder Michael Widenius's daughter, My and SQL is the Structured Query Language. α MySQL is a popular choice of database for use in web applications. and is a central component of the widely used LAMP open source web application software stack α LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python ."
NOW Installation Introduction Configuration Run
α Requirement 1. Web Host with database support 2. PC with browser α Use following link to download web host for computer 1. Apache (Web Server) apache.org/ 2. Mysql dev.mysql.com/downloads 3. PHP php.net/downloads.php α All in all platform XAMPP www.apachefriends.org/ Wamp Server wampserver.com/
NOW Configuration Introduction Installation Run
α After Installation configure the path of the installed software. α A Control panel open that is used to start and stop servers. α Click on Button of Apace to start server α Click on button of Mysql to start database server α Open web browser and type α Localhost or 127.0.0.1 α Select Language finally you did
NOW Run Introduction Installation Configuration
α Requirement 1. Text editor or IDE 2. Server Connected started 3. Browser 4. And Most important Mind. α Type the following code in text file <?php Phpinfo(); ?> Save insite the x:xampphtdocs with .php extenstion.-> type this in browser localhost/file.php
facebook.com/groups/sviet.mca vjy.softworx@gmail.com
Php introduction and configuration

Php introduction and configuration

  • 2.
  • 3.
    α Initially PersonalHome Page α Now PHP Hypertext Preprocessor. α PHP is free software. α Syntax based on Perl, Java, and C and have object oriented functionality α PHP code is interpreted by a web server with a PHP processor module, which generates the resulting web page. α PHP commands can be embedded directly into an HTML source document rather than calling an external file to process data
  • 4.
    α Syntax basedon Perl, Java, and C. α PHP was started in 1994 by Rasmus Lerdorf. α Early non-released versions were used on his home page to keep track of who was looking at his online resume. α First Version in 1995 as Personal Home Page Tool α PHP is in use on over 1,000,000 sites around the world. α Latest release PHP 5.5 20 June 2013.
  • 5.
    α PHP performssystem functions, i.e. from files on a system it can create, open, read, write, and close them. α PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user. α You add, delete, modify elements within your database thru PHP. α It can encrypt data. α Create dynamic and flexible website
  • 6.
    α Simplicity α Efficiency αSecurity α Flexibility α Familiarity
  • 7.
    α PHP fileshave extension ".php“. α PHP file/code are executed on the server, and the result is returned to the browser as plain HTML. α Create text file and type php code inside and save with .php. α All php code goes inside <?php //type your code here ?>
  • 8.
    α There aretwo way to use php α Inside the html as embedded html α Outside the html or in separate php file
  • 9.
    α Second mostlyused Open Source Database management system α It is named after co-founder Michael Widenius's daughter, My and SQL is the Structured Query Language. α MySQL is a popular choice of database for use in web applications. and is a central component of the widely used LAMP open source web application software stack α LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python ."
  • 10.
  • 11.
    α Requirement 1. WebHost with database support 2. PC with browser α Use following link to download web host for computer 1. Apache (Web Server) apache.org/ 2. Mysql dev.mysql.com/downloads 3. PHP php.net/downloads.php α All in all platform XAMPP www.apachefriends.org/ Wamp Server wampserver.com/
  • 12.
  • 13.
    α After Installationconfigure the path of the installed software. α A Control panel open that is used to start and stop servers. α Click on Button of Apace to start server α Click on button of Mysql to start database server α Open web browser and type α Localhost or 127.0.0.1 α Select Language finally you did
  • 15.
  • 16.
    α Requirement 1. Texteditor or IDE 2. Server Connected started 3. Browser 4. And Most important Mind. α Type the following code in text file <?php Phpinfo(); ?> Save insite the x:xampphtdocs with .php extenstion.-> type this in browser localhost/file.php
  • 18.