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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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/ |