execute a script on access to a directory
| From: | Enrique Vadillo | Date: | Fri, 07 Sep 2001 19:09:58 +0000 |
| Subject: | execute a script on access to a directory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66445@lists.php.net to get a copy of this message | ||
Hi,
I would like to know how i can force a PHP script to be
executed everytime a certain directory is accessed, for
example in http://domain.com/go/getit the presence of the
/go/ directory would force a PHP script to be executed
prior to any operation.
Do i need to play with rewriting urls in Apache or is
there any other cleaner method (that would not require
rewriting URLs) to achieve this? i'd hate to have to
rewrite URLs...
thanks.
Enrique-
_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp