Bluehost.com Web Hosting $6.95

RE: [PHP] intercepting URLs in a "control-system"

This is a discussion on RE: [PHP] intercepting URLs in a "control-system" within the PHP General forums, part of the PHP Programming Forums category; Alan Lord <mailto:lord_alan@hotmail.com> on Thursday, October 16, 2003 1:40 PM said: > Having read ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-16-2003
Chris W. Parker
 
Posts: n/a
Default RE: [PHP] intercepting URLs in a "control-system"

Alan Lord <mailto:lord_alan@hotmail.com>
on Thursday, October 16, 2003 1:40 PM said:

> Having read quite a bit on-line, I am interested in trying to "trap"
> URLs sent to my site so I can process the request and respond without
> neccessarily having a "real" page to serve. If this makes any sense,
> how do I do it?


Yes. Like another poster suggested you'll want to use mod_rewrite. You
can turn urls such as www.abc.com/cars/volvo/X70.html into
www.abc.com/cars.php?make=volvo&model=X70

> Because I expect that apache (in my case) would not
> like a URL that contains extra directories/files and would reject it.


Yes, it's called a 404.


HTH,
Chris.


--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0