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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.