Posts Tagged ‘.htaccess’
Redirecting a subdomain to script with .htaccess
Tuesday, July 14, 2009 23:50 1 CommentI recently had to work with .htaccess to redirect user to their homepage based on subdomain. The requirement was simple and is seen here and there and ofcourse everywhere now a days in different social networks. The requirement was redirecting http://username.domain.tld to http://domain.tld/user.php?u=username. This is just an example (Not similar to url I used). So [...]
Upload Large Files in PHP with .htaccess
Wednesday, April 1, 2009 5:21 No CommentsI regularly hear few of my friends expressing their agony they face when they try to upload large files with php using HTML Forms. I tell them about .htaccess files, and they really enjoy the solution. Many hosting providers limit the file upload size from 2 MB to 8MB and it is really a big [...]






