Re: How to catch any url request
| From: | Robert Cummings | Date: | Sun, 17 Jun 2007 00:31:39 +0000 |
| Subject: | Re: How to catch any url request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257190@lists.php.net to get a copy of this message | ||
On Sat, 2007-06-16 at 16:52 -0700, gd007 wrote:
> Hi,
>
> I want to catch any request of the form
> http://www.abcd.com/somereq.php
> without creating the somereq.php file.
> Thanks in advance.
You can either use mod_rewrite in Apache, or set a 404 handler. Probably
similar things for webservers other than Apache.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'