[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    [PHP-INST] Upgrade to 4 and $PHP_SELF (etc.) no longer available (SUN)??    jmmp
From:       "John Montgomery" <j.t.montgomery () norcol ! ac ! uk>
Date:       2001-01-30 11:39:07
[Download RAW message or body]

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



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic