ID: 8723
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Apache related
Assigned To: 
Comments:



Previous Comments:
---------------------------------------------------------------------------

[2001-01-15 15:46:44] [EMAIL PROTECTED]
Apache: 1.3.14 (with mod_php4 among other)

test.phtml:
<?
 putenv("one=one");
 $one=getenv("one");
 exec("echo two", $two, $ret);
 print("1: $one<br>");
 print("2: $two[0] ($ret)<br>");
?>

Browser shows:
1: one
2: two (0)

Config options:
configure  --with-gd=/usr/local/gd --with-mysql --with-jpeg-dir=/tmp/jpeg-6b
 --with-apache=../apache_1.3.14

After hitting Reload, browser shows:
1: one
2: two (0)

After hitting Reload again, browser shows:
1: one
Warning: Undefined index: 0 in /u/local/apache/htdocs/test.phtml on line 6
2: (1)

After "apachectl restart"  the above repeats...

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=8723


-- 
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