anthonydamasco Posted October 10, 2007 Share Posted October 10, 2007 Hello, I'm a web designer working with a company that needs a website similar to myspace. I'm pretty good with php, so recreating a bootleg version of myspace doesnt seem to hard. However The one element that I am not familiar with is creating folders with PHP. For example a user signs up, and they create a domain name "www.myspace.com/domain" well creating a separate database and all that is easy,but how to I create that folder and php files that need to go inside that folder to create there profile? Any help would be great thanks! Link to comment https://forums.phpfreaks.com/topic/72625-need-help-creating-folders-with-php/ Share on other sites More sharing options...
trq Posted October 10, 2007 Share Posted October 10, 2007 creating a separate database and all that is easy And rediculous. Use mod_rewrite to create virtual urls. You then use one file (index.php) to grab all the data needed for that particular url from the database. Link to comment https://forums.phpfreaks.com/topic/72625-need-help-creating-folders-with-php/#findComment-366187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.