AshleyByrom Posted August 7, 2009 Share Posted August 7, 2009 Okay well I have no idea about this so I could sound really stupid or really inquisitive but here goes... Obviously, in PHP you can pass a variable by using "doman.com?name=robert" then get that by saying $_GET["name"]; But, I have noticed some websites use, what looks like, folders and that seems to be some sort of variable passing? I am assuming this is PHP... how and why do people do this? A good example is GoolyMyWay.. http://googlemyway.com/PHP http://googlemyway.com/Frogs http://googlemyway.com/Hello http://googlemyway.com/Joe http://googlemyway.com/Bloggs Now, it isn't possible that they made folders for every single one so, how is this done and why? Thanks... Quote Link to comment Share on other sites More sharing options...
waterssaz Posted August 7, 2009 Share Posted August 7, 2009 The web examples below simpy use 'clean URLs' using mod rewrite on apache (possible with IIS as well). look up these terms and it will all come clear :-) 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.