Jump to content

Variables through folder name?


AshleyByrom

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.