PHP handling redirections of 'absolute' urls

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
rudibr
Forum Newbie
Posts: 1
Joined: Wed Nov 07, 2007 4:46 pm

PHP handling redirections of 'absolute' urls

Post by rudibr »

Hello

Im a novice php programmer, so excuse me if I may not be able to explain the issue correctly.

Id like to have my host redirect the user on special URLS, much like seen in wikipedia,
i.e.
http://www.wiki.com/AlbertEinstein,
http://www.wiki.com/LeonardoDaVinci

Ideally, Ill have this redirect url path in my database, wich is a db of several image galleries of various artists. Id like the user
to access galleries with this ease, as typing http://www.galleries.com/LeonardoDaVinci to access Leonardo's gallery. (this is not my actual hostname)

A friend of mine told me I should look up on ISAPI filters, and I did google and read some of it, but am a little lost on the proper procedures to achieve this functionality with PHP.

Thanks in advance.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

PHP doesn't normally perform such actions, the web server is normally tasked with such things.
Post Reply