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 









Simple "members only" pages
By combining some of the Tips & Scripts on this page it is possible to make a simple "members only" section on your website. When a user logs in they are automatically sent to their page, and can not get to anyone else's page.
<?php
$directory = $_SERVER['REMOTE_USER']; // directory name is the user name
if (file_exists($directory)) {
header('Location: '.$directory.'/'); // go to the user directory
} else {
header('Location: http://yourdomain/error.htm'); // not found
}
?>
