Using variables that act like directories.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
windwaker
Forum Newbie
Posts: 21
Joined: Sun Feb 13, 2005 11:18 am

Using variables that act like directories.

Post by windwaker »

This is seen in blogs alot, where the URL looks like:

site.com/blog/year/month/day
i.e.: site.com/blog/2005/3/10
Yet, there aren't real directories like this, are there? Is there a way to do this that's done through PHP?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

not often.. it's typically mod_rewrite or directory info being passed
Post Reply