index.php [code] | |
01-mixing_php_and_html/01-pure_php.php [code] | This program generates simple HTML page with links to related pages |
01-mixing_php_and_html/02-mixed_html_and_php.php [code] | This program is displays HTML page with links to related pages |
01-mixing_php_and_html/index.php [code] | |
02-documentation/index.php [code] | This page is to provide information about documentation available for PHP language |
03-phpinfo/index.php [code] | This file explains about phpinfo function and also links to a page which calls phpinfo() |
03-phpinfo/phpinfo.php [code] | The following program just calls phpinfo() function to display php information in HTML format |
04-php.net/index.php [code] | This program displays information about php.net configuration file |
05-constants/index.php [code] | This program is written to demonstrate use of constants and who they are defined in PHP |
06-variables/index.php [code] | This program is used to demonstrate various types of PHP variables and how they are assigned and used |
07-if_statement/index.php [code] | This file explains use of if statement and various ways in which conditions can be written in PHP |
08-loops/index.php [code] | This program demonstrates use of for and while loop in PHP |
09-arrays/index.php [code] | This program demonstrates use of for each loop to iterate over all elements of array |
10-switch/index.php [code] | This program demonstrates use of switch construct for PHP |
11-functions/index.php [code] | This program is written to demonstrate use of functions in PHP |
12-get_variables/add.php [code] | This program expects two numbers passed via GET variables num1 and num2 |
12-get_variables/add2.php [code] | This program demonstrates how we can display HTML form and accept values of same form using same PHP page |
12-get_variables/add3.php [code] | This program displays form two add two numbers and displays their sum |
12-get_variables/common_functions.php [code] | This PHP page is not intended to be executed directly from browser |
12-get_variables/index.php [code] | This program displays form which takes two numbers from user using text boxes and submits them to add.php using GET method |
13-post_variables/index.php [code] | This page demonstrates use of POST method for passing form values |
14-session_variables/common_functions.php [code] | |
14-session_variables/index.php [code] | This page demonstrates use of SESSION variables to keep track of user session |
14-session_variables/logout.php [code] | This page logs out any user who is logged in and then redirects to login page, that is index.php |
14-session_variables/welcome.php [code] | |
15-server_variables/index.php [code] | This program is used to demonstrate use of SERVER variables provided by apache to PHP interpreter |
16-cookies/index.php [code] | This program is used to demonstrate use of Cookies from PHP program |
17-mysql_database/address_book.php [code] | This file is used to provide message book to visitors through which they can leave a message |
17-mysql_database/common_functions.php [code] | This file is not intended to be run / executed directly from browser |
17-mysql_database/index.php [code] | This page is used to redirect to address_book.php page |
17-mysql_database/parameters.php [code] | This file is not intended to be run independently as program |
17-mysql_database/thank_you.php [code] | |