Re: [PHP3] Not allowing users to run PHP scripts

From: Date: Fri, 09 Jun 2000 21:48:02 +0000
Subject: Re: [PHP3] Not allowing users to run PHP scripts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1459@lists.php.net to get a copy of this message
> > From: Paul Farber [mailto:farber@f-tech.net] > > Sent: 07 June 2000 07:17 > > To: php3@lists.php.net > > Subject: [PHP3] Not allowing users to run PHP scripts > > > > > > Hello all, > > > > Is there a simple way to not allow users to run php scripts? > > I didn't see > > anything specific in the DOCS. > > > > Basically I have a need for my web site to run sql queries > > via PHP 4, but > > don't want to give the other sites the ability to run php. > > > > Any ideas? Something not unlike this in httpd.conf: php_flag engine on <Virtual whatever> php_flag engine off </Virtual> Disclaimer: I usually get the details wrong unless I'm looking at the httpd.conf, well, even then too, come to think of it... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1459) next »