Using .htaccess 












Using .htaccess/.htpasswd Password Protection 





Coding Tips 








Uploads and Downloads 



Mail 
see it on this page





Working with Images 


Frequently Requested Website Functionality 
see it on this page
see it on this page
see it on this page
see it on this page











Using PHP 




Website Managment 








Other Tips 









Custom Download Page
You can use the script below to create a custom directory list page. This is a basic script that can be customized to achieve the look you want. The script will automatically generate and link list of all the files in the directory that are of the types specified in the array variable, and only those file types. Populate the array with file types in lower case only, the script will match case insensitive. This is a good companion script to the File Upload Upload script on this page.
<?php
$type = array(".jpg",".gif",".txt");
$dir = "./";
foreach(scandir($dir) as $file) {
if (in_array(strtolower(strrchr($file,'.')),$type)) echo "<a href='$file'>$file</a><br>";
}
?>
