php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8470 about sessions
Submitted: 2000-12-28 23:14 UTC Modified: 2001-03-09 21:24 UTC
From: chenzero at netease dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Linux redhat 6.2
Private report: No CVE-ID: None
 [2000-12-28 23:14 UTC] chenzero at netease dot com
hello webmaster, 
  i found that my php(4.0.3pl1) can not correctly store session variable like array in which are objects . 
  i have a file called test.php, below i will post the source code.
  it can work correctly if i store primitive type in it, but if i store class in it , i found that it can not store the before value .
  i think my program has no any obvious errors, so i submit this report . 
  if has any information that can disappeal my doubt , please inform me , thank you.

chenzero            P.R.China


below is the source:

<?php

    class Goods {
       var $gid;   // goods no.
       var $gs;    // goods quantity

       function Goods($gi, $s = 1) {
          $this->gid = $gi ;
          $this->gs = $s;
       }

       function addgs($c = 1) {
        //  $k = $this->gs;
          $this->gs = $this->gs + $c ; //$k + $c;
       }

       function getgid() {
          return $this->gid ;
       }

       function getgs() {
          return $this->gs ;
       }

       function prt() {
          echo "  " . $this->gid . "," . $this->gs ."<br>" ;
       }

    }

   session_start();


   if ( !session_is_registered("cc") ) {


      $cc = array();
      session_register("cc");
      $cc[] = new Goods("1");
      $cc[] = new Goods("2");

      for ($i=0 ; $i<count($cc); $i++) {
         echo $cc[$i]->prt();
      }
      echo "registered <br>";

   }
   else {
      echo "NO <br>";
   }

   $cc[]  = new Goods("5");

   for ($i=0 ; $i<count($cc); $i++) {
      echo  $cc[$i]->prt() ;
   }




?>

thank you again for you reading my report if i make some mistakes .

and here is my phpinfo() , it's html


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head><STYLE TYPE="text/css"><!--
A { text-decoration: none; }
A:hover { text-decoration: underline; }
H1 { font-family: arial,helvetica,sans-serif; font-size: 18pt; font-weight: bold;}
H2 { font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;}
BODY,TD { font-family: arial,helvetica,sans-serif; font-size: 10pt; }
TH { font-family: arial,helvetica,sans-serif; font-size: 11pt; font-weight: bold; }
//--></STYLE>
<title>phpinfo()</title></head><body><TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="middle" BGCOLOR="#9999CC"><TD ALIGN="left">
<a href="http://www.php.net/"><img src="/chen/goods/phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" border=0 align="right" alt="PHP Logo"></a><H1>PHP Version 4.0.3pl1</H1>
</TD></TR>
</TABLE><BR>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>System</B></td><TD ALIGN="left">Linux server1 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Build Date</B></td><TD ALIGN="left">Oct 25 2000</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Configure Command</B></td><TD ALIGN="left"> './configure' '--with-apxs' '--with-mysql=/usr'</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Server API</B></td><TD ALIGN="left">Apache</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Virtual Directory Support</B></td><TD ALIGN="left">disabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Configuration File (php.ini) Path</B></td><TD ALIGN="left">/usr/local/lib</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>ZEND_DEBUG</B></td><TD ALIGN="left">disabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Thread Safety</B></td><TD ALIGN="left">disabled</td></TR>
</TABLE><BR>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="top" BGCOLOR="#CCCCCC"><TD ALIGN="left">
<a href="http://www.zend.com/"><img src="/chen/goods/phpinfo.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42" border="0" align="right" alt="Zend logo"></a>
This program makes use of the Zend scripting language engine:<BR>Zend&nbsp;Engine&nbsp;v1.0.3,&nbsp;Copyright&nbsp;(c)&nbsp;1998-2000&nbsp;Zend&nbsp;Technologies<br></BR>
</TD></TR>
</TABLE><BR>
<HR NOSHADE SIZE=1 WIDTH=600>
<h1 align="center"><a href="/chen/goods/phpinfo.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000">PHP 4.0 Credits</a></h1>
<HR NOSHADE SIZE=1 WIDTH=600>
<h1 align="center">Configuration</h1>
<H2 align="center">PHP Core
</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Directive</TH><TH>Local Value</TH><TH>Master Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>allow_call_time_pass_reference</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>arg_separator</B><BR></TD><TD ALIGN="center">&</TD><TD ALIGN="center">&</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>asp_tags</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>auto_append_file</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>auto_prepend_file</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>browscap</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>default_charset</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>default_mimetype</B><BR></TD><TD ALIGN="center">text/html</TD><TD ALIGN="center">text/html</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>define_syslog_variables</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>disable_functions</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>display_errors</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>display_startup_errors</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>doc_root</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>enable_dl</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>error_append_string</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>error_log</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>error_prepend_string</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>error_reporting</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>expose_php</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>extension_dir</B><BR></TD><TD ALIGN="center">/usr/local/lib/php/extensions/no-debug-non-zts-20000809</TD><TD ALIGN="center">/usr/local/lib/php/extensions/no-debug-non-zts-20000809</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>file_uploads</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>gpc_order</B><BR></TD><TD ALIGN="center">GPC</TD><TD ALIGN="center">GPC</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.bg</B><BR></TD><TD ALIGN="center"><font color="#FFFFFF">#FFFFFF</font></TD><TD ALIGN="center"><font color="#FFFFFF">#FFFFFF</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.comment</B><BR></TD><TD ALIGN="center"><font color="#FF8000">#FF8000</font></TD><TD ALIGN="center"><font color="#FF8000">#FF8000</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.default</B><BR></TD><TD ALIGN="center"><font color="#0000BB">#0000BB</font></TD><TD ALIGN="center"><font color="#0000BB">#0000BB</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.html</B><BR></TD><TD ALIGN="center"><font color="#000000">#000000</font></TD><TD ALIGN="center"><font color="#000000">#000000</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.keyword</B><BR></TD><TD ALIGN="center"><font color="#007700">#007700</font></TD><TD ALIGN="center"><font color="#007700">#007700</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>highlight.string</B><BR></TD><TD ALIGN="center"><font color="#DD0000">#DD0000</font></TD><TD ALIGN="center"><font color="#DD0000">#DD0000</font></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>html_errors</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>ignore_user_abort</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>implicit_flush</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>include_path</B><BR></TD><TD ALIGN="center">.:/usr/local/lib/php</TD><TD ALIGN="center">.:/usr/local/lib/php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>log_errors</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>magic_quotes_gpc</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>magic_quotes_runtime</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>magic_quotes_sybase</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>max_execution_time</B><BR></TD><TD ALIGN="center">30</TD><TD ALIGN="center">30</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>open_basedir</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>output_buffering</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>post_max_size</B><BR></TD><TD ALIGN="center">8M</TD><TD ALIGN="center">8M</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>precision</B><BR></TD><TD ALIGN="center">14</TD><TD ALIGN="center">14</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>register_argc_argv</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>register_globals</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>safe_mode</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>safe_mode_exec_dir</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>sendmail_from</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>sendmail_path</B><BR></TD><TD ALIGN="center">/usr/sbin/sendmail -t -i </TD><TD ALIGN="center">/usr/sbin/sendmail -t -i </TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>short_open_tag</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>SMTP</B><BR></TD><TD ALIGN="center">localhost</TD><TD ALIGN="center">localhost</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>sql.safe_mode</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>track_errors</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>upload_max_filesize</B><BR></TD><TD ALIGN="center">2M</TD><TD ALIGN="center">2M</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>upload_tmp_dir</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>user_dir</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>variables_order</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>y2k_compliance</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_xml">xml</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>XML Support</B></td><TD ALIGN="left">active</td></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_standard">standard</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Regex Library</B></td><TD ALIGN="left">Bundled library enabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Dynamic Library Support</B></td><TD ALIGN="left">enabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Path to sendmail</B></td><TD ALIGN="left">/usr/sbin/sendmail -t -i </td></TR>
</TABLE><BR>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Directive</TH><TH>Local Value</TH><TH>Master Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>assert.active</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>assert.bail</B><BR></TD><TD ALIGN="center">0</TD><TD ALIGN="center">0</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>assert.callback</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>assert.quiet_eval</B><BR></TD><TD ALIGN="center">0</TD><TD ALIGN="center">0</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>assert.warning</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>safe_mode_allowed_env_vars</B><BR></TD><TD ALIGN="center">PHP_</TD><TD ALIGN="center">PHP_</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>safe_mode_protected_env_vars</B><BR></TD><TD ALIGN="center">LD_LIBRARY_PATH</TD><TD ALIGN="center">LD_LIBRARY_PATH</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.use_trans_sid</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_session">session</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Session Support</B></td><TD ALIGN="left">enabled</td></TR>
</TABLE><BR>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Directive</TH><TH>Local Value</TH><TH>Master Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.auto_start</B><BR></TD><TD ALIGN="center">Off</TD><TD ALIGN="center">Off</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.cache_expire</B><BR></TD><TD ALIGN="center">180</TD><TD ALIGN="center">180</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.cache_limiter</B><BR></TD><TD ALIGN="center">nocache</TD><TD ALIGN="center">nocache</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.cookie_domain</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.cookie_lifetime</B><BR></TD><TD ALIGN="center">0</TD><TD ALIGN="center">0</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.cookie_path</B><BR></TD><TD ALIGN="center">/</TD><TD ALIGN="center">/</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.entropy_file</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.entropy_length</B><BR></TD><TD ALIGN="center">0</TD><TD ALIGN="center">0</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.gc_maxlifetime</B><BR></TD><TD ALIGN="center">1440</TD><TD ALIGN="center">1440</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.gc_probability</B><BR></TD><TD ALIGN="center">1</TD><TD ALIGN="center">1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.name</B><BR></TD><TD ALIGN="center">PHPSESSID</TD><TD ALIGN="center">PHPSESSID</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.referer_check</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.save_handler</B><BR></TD><TD ALIGN="center">files</TD><TD ALIGN="center">files</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.save_path</B><BR></TD><TD ALIGN="center">/tmp</TD><TD ALIGN="center">/tmp</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.serialize_handler</B><BR></TD><TD ALIGN="center">php</TD><TD ALIGN="center">php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>session.use_cookies</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_posix">posix</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Revision</B></td><TD ALIGN="left">$Revision: 1.26 $</td></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_pcre">pcre</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PCRE (Perl Compatible Regular Expressions) Support</B></td><TD ALIGN="left">enabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PCRE Library Version</B></td><TD ALIGN="left">3.1 09-Feb-2000</td></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_mysql">mysql</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>MySQL Support</TH><TH>enabled</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Active Persistent Links</B></td><TD ALIGN="left">0</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Active Links</B></td><TD ALIGN="left">0</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Client API version</B></td><TD ALIGN="left">3.22.32</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>MYSQL_INCLUDE</B></td><TD ALIGN="left">&nbsp;</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>MYSQL_LFLAGS</B></td><TD ALIGN="left">&nbsp;</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>MYSQL_LIBS</B></td><TD ALIGN="left">&nbsp;</td></TR>
</TABLE><BR>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Directive</TH><TH>Local Value</TH><TH>Master Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.allow_persistent</B><BR></TD><TD ALIGN="center">On</TD><TD ALIGN="center">On</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.default_host</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.default_password</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.default_port</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.default_socket</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.default_user</B><BR></TD><TD ALIGN="center"><i>no value</i></TD><TD ALIGN="center"><i>no value</i></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.max_links</B><BR></TD><TD ALIGN="center">Unlimited</TD><TD ALIGN="center">Unlimited</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>mysql.max_persistent</B><BR></TD><TD ALIGN="center">Unlimited</TD><TD ALIGN="center">Unlimited</TD></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_gd">gd</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>GD Support</B></td><TD ALIGN="left">enabled</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>GD Version</B></td><TD ALIGN="left">between 1.3 and 1.6.1</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>GIF Support</B></td><TD ALIGN="left">enabled</td></TR>
</TABLE><BR>
<H2 align="center"><A NAME="module_apache">apache</A></H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>APACHE_INCLUDE</B></td><TD ALIGN="left">&nbsp;</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>APACHE_TARGET</B></td><TD ALIGN="left">&nbsp;</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Apache Version</B></td><TD ALIGN="left">Apache/1.3.12</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Apache Release</B></td><TD ALIGN="left">10312100</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Apache API Version</B></td><TD ALIGN="left">19990320</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Hostname:Port</B></td><TD ALIGN="left">server1.edu123.com:80</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>User/Group</B></td><TD ALIGN="left">nobody(99)/99</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Max Requests</B></td><TD ALIGN="left">Per Child: 100<br>Keep Alive: on<br>Max Per Connection: 100</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Timeouts</B></td><TD ALIGN="left">Connection: 300<br>Keep-Alive: 15</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Server Root</B></td><TD ALIGN="left">/etc/httpd</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Loaded Modules</B></td><TD ALIGN="left">mod_php4, mod_perl, mod_setenvif, mod_so, mod_usertrack, mod_headers, mod_expires, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core</td></TR>
</TABLE><BR>
<H2 align="center">Apache Environment</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Variable</TH><TH>Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>DOCUMENT_ROOT</B></td><TD ALIGN="left">/edu123/html</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_ACCEPT</B></td><TD ALIGN="left">image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_ACCEPT_ENCODING</B></td><TD ALIGN="left">gzip, deflate</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_ACCEPT_LANGUAGE</B></td><TD ALIGN="left">zh-cn</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_CONNECTION</B></td><TD ALIGN="left">Keep-Alive</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_HOST</B></td><TD ALIGN="left">server1.edu123.com</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP_USER_AGENT</B></td><TD ALIGN="left">Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PATH</B></td><TD ALIGN="left">/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>REMOTE_ADDR</B></td><TD ALIGN="left">202.104.87.154</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>REMOTE_PORT</B></td><TD ALIGN="left">1644</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SCRIPT_FILENAME</B></td><TD ALIGN="left">/edu123/html/chen/goods/phpinfo.php</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_ADDR</B></td><TD ALIGN="left">202.104.87.145</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_ADMIN</B></td><TD ALIGN="left">jack@edu123.com</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_NAME</B></td><TD ALIGN="left">server1.edu123.com</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_PORT</B></td><TD ALIGN="left">80</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_SIGNATURE</B></td><TD ALIGN="left"><ADDRESS>Apache/1.3.12 Server at server1.edu123.com Port 80</ADDRESS>
</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_SOFTWARE</B></td><TD ALIGN="left">Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/4.0.3pl1 mod_perl/1.21</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>GATEWAY_INTERFACE</B></td><TD ALIGN="left">CGI/1.1</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SERVER_PROTOCOL</B></td><TD ALIGN="left">HTTP/1.1</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>REQUEST_METHOD</B></td><TD ALIGN="left">GET</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>QUERY_STRING</B></td><TD ALIGN="left">&nbsp;</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>REQUEST_URI</B></td><TD ALIGN="left">/chen/goods/phpinfo.php</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SCRIPT_NAME</B></td><TD ALIGN="left">/chen/goods/phpinfo.php</td></TR>
</TABLE><BR>
<H2 align="center">HTTP Headers Information</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR BGCOLOR="#9999CC"><TH COLSPAN=2>HTTP Request Headers</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HTTP Request</B></td><TD ALIGN="left">GET /chen/goods/phpinfo.php HTTP/1.1</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Accept</B></td><TD ALIGN="left">image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Accept-Encoding</B></td><TD ALIGN="left">gzip, deflate</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Accept-Language</B></td><TD ALIGN="left">zh-cn</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Connection</B></td><TD ALIGN="left">Keep-Alive</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Host</B></td><TD ALIGN="left">server1.edu123.com</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>User-Agent</B></td><TD ALIGN="left">Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)</td></TR>
<TR BGCOLOR="#9999CC"><TH COLSPAN=2>HTTP Response Headers</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>X-Powered-By</B></td><TD ALIGN="left">PHP/4.0.3pl1</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Keep-Alive</B></td><TD ALIGN="left">timeout=15, max=100</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Connection</B></td><TD ALIGN="left">Keep-Alive</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Transfer-Encoding</B></td><TD ALIGN="left">chunked</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>Content-Type</B></td><TD ALIGN="left">text/html</td></TR>
</TABLE><BR>
<H2 align="center">Additional Modules</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
</TABLE><BR>
<H2 align="center">Environment</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Variable</TH><TH>Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>INIT_VERSION</B></td><TD ALIGN="left">sysvinit-2.78</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>previous</B></td><TD ALIGN="left">N</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>TERM</B></td><TD ALIGN="left">linux</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HOSTTYPE</B></td><TD ALIGN="left">i386</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PATH</B></td><TD ALIGN="left">/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>CONSOLE</B></td><TD ALIGN="left">/dev/console</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>HOME</B></td><TD ALIGN="left">/</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PREVLEVEL</B></td><TD ALIGN="left">N</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>RUNLEVEL</B></td><TD ALIGN="left">3</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SHELL</B></td><TD ALIGN="left">/bin/bash</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>runlevel</B></td><TD ALIGN="left">3</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>AUTOBOOT</B></td><TD ALIGN="left">YES</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>BOOT_IMAGE</B></td><TD ALIGN="left">linux</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>OSTYPE</B></td><TD ALIGN="left">Linux</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>SHLVL</B></td><TD ALIGN="left">2</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>_</B></td><TD ALIGN="left">/bin/nice</td></TR>
</TABLE><BR>
<H2 align="center">PHP Variables</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="bottom" bgcolor="#9999CC"><TH>Variable</TH><TH>Value</TH></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF" ><B>PHP_SELF</B></td><TD ALIGN="left">/chen/goods/phpinfo.php</td></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["DOCUMENT_ROOT"]</B></TD><TD>/edu123/html</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_ACCEPT"]</B></TD><TD>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]</B></TD><TD>gzip, deflate</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]</B></TD><TD>zh-cn</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_CONNECTION"]</B></TD><TD>Keep-Alive</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_HOST"]</B></TD><TD>server1.edu123.com</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["HTTP_USER_AGENT"]</B></TD><TD>Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["PATH"]</B></TD><TD>/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["REMOTE_ADDR"]</B></TD><TD>202.104.87.154</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["REMOTE_PORT"]</B></TD><TD>1644</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SCRIPT_FILENAME"]</B></TD><TD>/edu123/html/chen/goods/phpinfo.php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_ADDR"]</B></TD><TD>202.104.87.145</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_ADMIN"]</B></TD><TD>jack@edu123.com</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_NAME"]</B></TD><TD>server1.edu123.com</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_PORT"]</B></TD><TD>80</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_SIGNATURE"]</B></TD><TD><ADDRESS>Apache/1.3.12 Server at server1.edu123.com Port 80</ADDRESS>
</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_SOFTWARE"]</B></TD><TD>Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/4.0.3pl1 mod_perl/1.21</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["GATEWAY_INTERFACE"]</B></TD><TD>CGI/1.1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SERVER_PROTOCOL"]</B></TD><TD>HTTP/1.1</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["REQUEST_METHOD"]</B></TD><TD>GET</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["QUERY_STRING"]</B></TD><TD></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["REQUEST_URI"]</B></TD><TD>/chen/goods/phpinfo.php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["SCRIPT_NAME"]</B></TD><TD>/chen/goods/phpinfo.php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["PATH_TRANSLATED"]</B></TD><TD>/edu123/html/chen/goods/phpinfo.php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["PHP_SELF"]</B></TD><TD>/chen/goods/phpinfo.php</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["argv"]</B></TD><TD><PRE>Array
(
)
</PRE></TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_SERVER_VARS["argc"]</B></TD><TD>0</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["INIT_VERSION"]</B></TD><TD>sysvinit-2.78</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["previous"]</B></TD><TD>N</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["TERM"]</B></TD><TD>linux</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["HOSTTYPE"]</B></TD><TD>i386</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["PATH"]</B></TD><TD>/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["CONSOLE"]</B></TD><TD>/dev/console</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["HOME"]</B></TD><TD>/</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["PREVLEVEL"]</B></TD><TD>N</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["RUNLEVEL"]</B></TD><TD>3</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["SHELL"]</B></TD><TD>/bin/bash</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["runlevel"]</B></TD><TD>3</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["AUTOBOOT"]</B></TD><TD>YES</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["BOOT_IMAGE"]</B></TD><TD>linux</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["OSTYPE"]</B></TD><TD>Linux</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["SHLVL"]</B></TD><TD>2</TD></TR>
<TR VALIGN="baseline" BGCOLOR="#CCCCCC"><TD BGCOLOR="#CCCCFF"><B>HTTP_ENV_VARS["_"]</B></TD><TD>/bin/nice</TD></TR>
</TABLE><BR>
<H2 align="center">PHP License</H2>
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=1 WIDTH=600 BGCOLOR="#000000" ALIGN="CENTER">
<TR VALIGN="top" BGCOLOR="#CCCCCC"><TD ALIGN="left">
<P>
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file:  LICENSE
</P>
<P>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
</P>
<P>If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
</P>
</TD></TR>
</TABLE><BR>





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-29 06:22 UTC] sniper@php.net
Please try PHP 4.0.4 as there has been some fixes
regarding this issue in it.

--Jani

 [2001-03-09 21:24 UTC] sniper@php.net
No feedback, considered fixed.


 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Feb 06 13:03:40 2023 UTC