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 Quote Link to comment 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. 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.