Bcapecci Posted October 16, 2010 Share Posted October 16, 2010 Hey everyone, I'm new to web programming so I thought I would join a active community to help me out. Anyhow, I'm making a game portal and I want the users games to have a url like so... games/username/gamename. From what I understand I could get this structure by simply using data from my login session(username) and using my upload form(gamename) and mkdir. Then I would need to have an index page inside every gamename folder? How would I add the index pages inside such folders. This way seems pretty inefficient to do considering I could pull the games dynamically in a single php file. Is there a way I can make my url look nice and still use one file to handle the embedding of the games, comments etc. Thanks Link to comment https://forums.phpfreaks.com/topic/216041-dynamic-user-content-pages/ Share on other sites More sharing options...
PaulRyan Posted October 17, 2010 Share Posted October 17, 2010 You will be wanting to look at URL Re-writing my friend. Look here: http://www.addedbytes.com/for-beginners/url-rewriting-for-beginners/ Regards, Paul. Link to comment https://forums.phpfreaks.com/topic/216041-dynamic-user-content-pages/#findComment-1122851 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.