header
 
     
 
pixel
pixel pixel

PHP Tips

In 2002, I had to convert my website Sev Wide Web from ASP to PHP. While the process was initially painful, it turned out to be a blessing in disguise (no offense, Microsoft) as PHP is one of the more robust, well supported and community based server side languages around.

bullet  Display currency in correct format
bullet  Making your HTML readable when using PHP
bullet  Converting ASCII line returns to HTML line breaks
bullet  Post form results to same PHP page
bullet  Parsing HTML form results
bullet  Looping through an associative array
bullet  Searching through an array
bullet  Displaying filesize in kilobytes
bullet  Commenting large sections of code
bullet  Single quotes versus double quotes
bullet  Starting your php code
bullet  Check your server configuration using phpinfo
bullet  Long running PHP scripts
bullet  Generate current page name
bullet  Large sections of HTML in PHP script
bullet  Commenting ends of brackets
bullet  Using double quotes with variables
bullet  Encoding form variables in a URL
bullet  Convert HTML into text
bullet  Redirect a URL using PHP
bullet  Disabling automatic session IDs in URLs
bullet  Measuring time to execute PHP script
bullet  Protect your subdirectories
bullet  Disabling code for local testing