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 









Automatic Subdomains
Want to create subdomains on the fly? Maybe you want member subdomains. You don't want to have to change your server config or edit files to create subdomains. As long as you have wildcard subdomains enabled in your dns, you can use this .htaccess code to activate automatic subdomains. All you have to do is create a directory with the name of the subdomain, but starting with a -. For example, if you want sub.domain.com to be a subdomain, then create a directory named -sub in your document root. That is all there is to it. You can create subdomains on the fly by having a script create the directory, or do it manually.



