problems with environment variables

From: Date: Mon, 28 Jul 2003 16:29:24 +0000
Subject: problems with environment variables
Groups: php.install 
Request: Send a blank email to php-install+get-11351@lists.php.net to get a copy of this message
Hello! I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2 PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1 It's a newly installed server with a lot of virtual hosts using environment variables like $REQUEST_URI in php scripts. The problem is that PHP doesn't show those variables, saying "Notice: Undefined variable: REQUEST_URI in ..." register_globals in /usr/local/etc/php.ini is On I've tried to install PHP 4.3.2 and 4.3.1, but the result is negative too =( I know I should be using variables like "$_SERVER[REQUEST_URI]", but it's a real problem to explain that to my users. They really want their scripts to keep using just $REQUEST_URI or $QUERY_STRING etc. Is there any ideas how should the problem be fixed? thanx in advance for helping -- yz@tormoz.net [YZ-RIPE]

« previous php.install (#11351) next »