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... Link to comment https://forums.phpfreaks.com/topic/169200-variables-through-folder-name/ 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 :-) Link to comment https://forums.phpfreaks.com/topic/169200-variables-through-folder-name/#findComment-892751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.