note 40223 added to function.phpinfo

From: Date: Wed, 25 Feb 2004 22:40:06 +0000
Subject: note 40223 added to function.phpinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-65762@lists.php.net to get a copy of this message
this little script show the $_SERVER values, it's not a phpinfo(), but i think it could go under this function. <LINK rel="stylesheet" type="text/css" href="style.css"> <TABLE cellspacing="0" cellpadding="0"> <TR id="title"><TD>Cookie navn</TD><TD>Value</TD></TR> <? foreach($_SERVER as $key => $value) { echo "<TR><TD>$key</TD><TD>$value</TD></TR>"; if(is_array($value)){ foreach($_SERVER[$key] as $newkey => $newvalue){ echo "<TR><TD>$newkey</TD><TD>$newvalue</TD></TR>"; } } } ?> </TABLE> ---- Manual Page -- http://www.php.net/manual/en/function.phpinfo.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40223 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40223&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40223&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65762) next »