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? Link to comment https://forums.phpfreaks.com/topic/38782-creating-a-folder-and-indexphp-file-for-users-of-my-site/ 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. Link to comment https://forums.phpfreaks.com/topic/38782-creating-a-folder-and-indexphp-file-for-users-of-my-site/#findComment-186361 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. Link to comment https://forums.phpfreaks.com/topic/38782-creating-a-folder-and-indexphp-file-for-users-of-my-site/#findComment-186363 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 Link to comment https://forums.phpfreaks.com/topic/38782-creating-a-folder-and-indexphp-file-for-users-of-my-site/#findComment-186365 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. Link to comment https://forums.phpfreaks.com/topic/38782-creating-a-folder-and-indexphp-file-for-users-of-my-site/#findComment-186453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.