alexville Posted February 16, 2007 Share Posted February 16, 2007 I need some help making a script that will created a folder in the root directory according to the user's name stored in my MySQL database. (example: www.mysite.com/userfolder) I also need help with creating a index.php file in those folders that are created. Is there a tut for doing this or something? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 16, 2007 Share Posted February 16, 2007 You might want to look at mod_rewrite for a better way to do this, instead of creating a file for every user. Quote Link to comment Share on other sites More sharing options...
alexville Posted February 16, 2007 Author Share Posted February 16, 2007 can you please explain MOD_REWRITE to me because i've never seen this before. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 16, 2007 Share Posted February 16, 2007 http://www.google.com/search?q=mod_rewrite Quote Link to comment Share on other sites More sharing options...
Daney11 Posted February 16, 2007 Share Posted February 16, 2007 Ive just started using mod_rewrite and its brillaint. Fairly easy to do if you read the information properly. But yeah google it and it will bring you lots of results. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.