Re: PHP in a Hyper-secure environment

From: Date: Fri, 10 Aug 2001 11:27:53 +0000
Subject: Re: PHP in a Hyper-secure environment
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-62795@lists.php.net to get a copy of this message
anychance of writing your complex functions in C? then you can do exectly what you want. - James ----- Original Message ----- From: "Howie Oakes" <howie@crazycat.org> To: <heko@iki.fi>; <php-dev@lists.php.net> Sent: Friday, August 10, 2001 2:55 PM Subject: Re: [PHP-DEV] PHP in a Hyper-secure environment > Hello- > > I realize I can have per-directory settings, however the issue is that I > want a web developer to be able to use a simplified version of PHP on a > page, yet still be able to call encoded functions that have access to the > full version of PHP, without allowing them direct access to that code. > > I had a crazy thought...Could I set up PHP to parse the page twice? One > time looking for my complex funcions prefixed with a special name...using a > full version of PHP, and then parse it a seccond time running all the > "regular" PHP code? > > -Howie > > > > > >> Does anyone have any ideas? I basically want to run 2 versions of PHP at > >> the same time, and access them from the same page. If you zend encode a > >> script, can I get it to refer to a different php.ini? Is the php.ini file > >> read when a script is executed, or does it get read only when you start > >> apache? > > > >If you are running Apache, you can use the .htaccess file to pass settings > >to individual directories; for an example see: > > > > http://iki.fi/heko/utils/conf/dot-files/dot-htaccess > > > >The php.ini file is only read once per server startup. > > > > > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#62795) next »