Jump to content

[SOLVED] I want to do this, but I don't even know what it's called


somewon

Recommended Posts

Okay, I know that on some websites you see things like this:

 

http://website.com/gallery/?id=1 instead of http://website.com/gallery/blah.php?id=1

 

I have a setup where there are directories of just images, and a simple php scrip that reads the directory and displays thumbnails etc.

 

What I want to be able to do is link straight to http://website.com/gallery/birds/ for example, and have it call the gallery.php script and display the pictures in that directory, but without having the script in every single directory.

 

I hope this makes sense. =P

 

Can anyone give me some pointers on how to do this? I'm not even sure what it's called, so it's hard to lookup info and figure it out myself, which is what I usually do.

 

thanks!

 

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.