PHP I : Resources

Resources PHP.net Operators   Books PHP5 Power Programming – Free Book Download at http://www.computer-books.us/php_2.php   Online Tutorials Beginner PHP Tutorials at http://www.justphukit.com/php/beginner-php-tutorials.php Learning PHP: Installing and Configuring By Elizabeth Fulghum at http://www.developer.com/lang/article.php/912381 An Introduction to PEAR by Joao Prado Maia at http://www.onlamp.com/pub/a/php/2001/05/24/pear.html A Detailed Look at PEAR by Joao Prado Maia http://www.onlamp.com/pub/a/php/2001/07/19/pear.html PHPKitchen.com’s PEAR Tutorials …

PHP I : Functions

PHP Function Refence: http://www.php.net/manual/en/funcref.php Follow this lesson in Ullman Chapter 10. The scripts are located in the 10 directory.   Creating and Calling a User-Defined Function function function_name () {   #do stuff here } Function names are case-insensitive! For example: <?php function my_first_function() { for($i = 0; $i < 10; $i++) {   echo …

PHP I : Web Apps

Follow this lesson in Ullman Chapter 8. The scripts are located in the 08 directory.   Checking for Form Submission if (isset ($_POST[‘submit’])) { //Handle the form …. }   Using include() and require() See Ullman page 198. <?php include (‘../../../dbcon.php’); …. ?> Included files are “brought in” to the current file. If include() fails, …

PHP I : Arrays

Follow this lesson in Ullman Chapter 7. The scripts are located in the 07 directory.   The arrays you’re already using: $_GET and $_POST These two arrays are two of the superglobals. Older versions of PHP (before 4.1) use $HTTP_POST_VARS and $HTTP_GET_VARS instead. Other superglobals include $_COOKIE, $_SESSION AND $_SERVER.   An Indexed Array Index …