From:             [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:      4.0.5
PHP Bug Type:     iPlanet related
Bug description:  PHP Variables is not supportted

I tested with iPlanet 6.0 and PHP4.0.4pl1.
I also was did it with iPlanet 4.1 before, but the result was the same
one.

After i compile and install the program, i opened file, test.php including
the following line. 
<?
phpinfo();
?>

"PHP Variables", like this.. only two lines...

PHP_SELF /test.php 
HTTP_SERVER_VARS["QUERY_STRING"] 

The problem is NOT here.

The Variables are not work in the real php code.

echo $HTTP_SERVER_VARS["SERVER_NAME"];

Although $HTTP_SERVER_VARS["REMOTE_ADDR"] is work well,
Why isn't work $HTTP_SERVER_VARS["SERVER_NAME"],
$HTTP_SERVER_VARS["REMOTE_PORT"].. etc ?

In Linux Box with apache, it works very well.

The following is the sample.

PHP Variables : value  (null values show that it does not work)

-------------------phpvar.php--------------------
PHP_SELF: /phpvar.php 
DOCUMENT_ROOT: 
force-response-1_0: 
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, */* 
HTTP_CONNECTION: 
HTTP_HOST: 
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0;
T312461) 
PATH: 
REMOTE_ADDR: 211.236.72.46 
REMOTE_PORT: 
SCRIPT_FILENAME: 
SERVER_ADDR: 
SERVER_ADMIN: 
SERVER_NAME: 
SERVER_PORT: 
SERVER_SIGNATURE: 
SERVER_SOFTWARE: 
GATEWAY_INTERFACE: 
SERVER_PROTOCOL: 
REQUEST_METHOD: GET 
QUERY_STRING: 
REQUEST_URI: 
SCRIPT_NAME: /xxx.php 
PATH_TRANSLATED: 
PHP_SELF: /phpvar.php 
argv: Array 
argc: 0 
PWD: 
HOSTNAME: 
LESSOPEN: 
USER: 
LS_COLORS: 
MACHTYPE: 
MAIL /var/mail/root 
INPUTRC 
BASH_ENV: 
LANG: ko 
LOGNAME: root 
SHLVL: 
SHELL: /sbin/sh 
USERNAME 
HOSTTYPE: 
OSTYPE: 
HISTSIZE: 
TERM: vt100 
HOME: / 
PATH:
/usr/iplanet/servers/bin/https/bin:/opt/SUNWspro/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/etc:.:/usr/local/bin:/usr/sbin:/




 

-- 
Edit bug report at: http://bugs.php.net/?id=14885&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to