Fack URL

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
amao
Forum Newbie
Posts: 21
Joined: Sun May 10, 2009 5:13 am

Fack URL

Post by amao »

how can I do that ?

user will click on http://www.myurl.com/2135
will go to URL http://www.myurl.com/post.php?52
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: Fack URL

Post by Defiline »

amao
Forum Newbie
Posts: 21
Joined: Sun May 10, 2009 5:13 am

Re: Fack URL

Post by amao »

please any other help
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Fack URL

Post by Weirdan »

What other help you need after you were pointed to comprehensive documentation?
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Fack URL

Post by McInfo »

Another way to do this is to use a PHP script in your 404 page (example: missing.php). The script should analyze $_SERVER['REQUEST_URI'] to determine what page to include or redirect to.

Edit: This post was recovered from search engine cache.
Post Reply