Upgrade to 4 and $PHP_SELF (etc.) no longer available (SUN)?? jmmp

From: Date: Tue, 30 Jan 2001 11:39:07 +0000
Subject: Upgrade to 4 and $PHP_SELF (etc.) no longer available (SUN)?? jmmp
Groups: php.install 
Request: Send a blank email to php-install+get-1851@lists.php.net to get a copy of this message
Hi A'bdy! SYSOP upgraded to PHP 4.0.4pl1 from PHP3 on sun4u 5.6 sparc SUNW,Ultra-250, Now all the PHP3 Apps are broken :- As far as I can see, we've lost functionality where HTTP_GET/POST_VARS were made available in the PHP environment without extra work: e.g.: On the form : <input type=hidden name=mode value=3> later: switch( $mode )... No need for pre-extracting the variable (as in HTTP_POST_VARS[ 'mode'] ). Even the workhorse $PHP_SELF is unavailable. Although all are showing as HTTP_xxx_VARS in phpinfo(). I would be grateful for some pointers to information on how to reinstate the old behaviour thereby saving me a great deal of re-writing work? Details: System: sun4u 5.6 sparc SUNW,Ultra-250, PHP ver: 4.0.4pl1 Apache : Apache/1.3.14 Oracle ver: 7.3 Hope that's sufficient. Thanks for any help. :-) John

« previous php.install (#1851) next »