note 61416 deleted from function.ini-set by nlopess

From: Date: Thu, 02 Feb 2006 23:11:26 +0000
Subject: note 61416 deleted from function.ini-set by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102898@lists.php.net to get a copy of this message
Note Submitter: edvin <edacval [at] gmail dot com> ---- Tryed change PHP seting with .htaccess file: php_flag register_globals Off Cauth :internal server error (500) :) Then found another solution: Copy a file named 'php.ini' with following content to directory,where reside your script. Php.ini content: [PHP] register_globals = Off And all scripts in this directory will be executed with register_globals = off .(This not affect scripts in subdirectory!). Tested on PHP 5.0.4. Server: Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b System: RHEL (2.4.21-37.0.1.ELsmp i686). If needed,entire output from phpinfo() will be provided.

« previous php.notes (#102898) next »