Re: execute a script on access to a directory

From: Date: Fri, 07 Sep 2001 19:12:58 +0000
Subject: Re: execute a script on access to a directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66446@lists.php.net to get a copy of this message
You could always add an include() for every page under the /go directory. Simplest way that I can think of. ----- Original Message ----- From: "Enrique Vadillo" <enrique_vadillo@hotmail.com> To: <php-general@lists.php.net> Sent: Friday, September 07, 2001 12:09 PM Subject: [PHP] execute a script on access to a directory > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#66446) next »