Using .htaccess 












Using .htaccess/.htpasswd Password Protection 


php5
php5
Coding Tips 






Uploads and Downloads 

php5
php5
php5
Mail 



php5


Working with Images 


Frequently Requested Website Functionality 
php5
php5

php5 see it on this page
php5








Using PHP 
php5
php5
php5


Website Managment 







php5

php5
Other Tips 







Clean up your PHP scripts
Scripting in php can get very messy. Typically you build your html as you go, so you have your php logic and your html all mixed up. IMHO, a better way is to separate your html from your php logic. Then you can edit your html page in a standard html editor, and work on your logic independently. This will make your site much easier to maintain. You can build very complex sites in this way, while keeping your scripts easy to understand. Build the variable content of your page in php, put the variable names in your html, and then as the last php line use this:
<?php
eval("echo(\"".str_replace("\"","\\\"",file_get_contents('page.htm'))."\");");
?>
<?php
eval("\$variable = \"".str_replace("\"","\\\"",file_get_contents('page.htm'))."\";");
?>