#4161 [Opn->Bgs]: PUTENV() don't work, the variable "created" never appears

From: Date: Mon, 30 Sep 2002 23:50:35 +0000
Subject: #4161 [Opn->Bgs]: PUTENV() don't work, the variable "created" never appears
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20828@lists.php.net to get a copy of this message
ID: 4161 Updated by: hholzgra@php.net Reported By: pm@rednet.com.ar -Status: Open +Status: Bogus Bug Type: Other Operating System: Unix and NT PHP Version: 3.0.16 New Comment: putenv() affects the current process only with cgi the effects are lost on script end, and even with server modules the chance of getting a new request served by the same process you did use putenv() in before is rather low ... Previous Comments: ------------------------------------------------------------------------ [2000-04-17 10:56:51] pm@rednet.com.ar Sorry my english, I'm from Argentine I'm trying to use PUTENV and GETENV to trace some actions from users. I tested with the example from documentation Example 1. Setting an Environment Variable putenv("UNIQID=$uniqid"); Then on other page I used echo getenv("UNIQID"); phpinfo(); And the variable created before never appear I test with php_track_vars, ON and OFF with <?php_track_vars?>, and the result is the same. I tested this on BSD and IRIX with apache and on NT with IIS4 Pablo Murillo pm@rednet.com.ar ====================== RED NET ARGENTINA Internet Solutions ====================== Paraguay 419 Piso 2 Of.5 (C1057AAC) - Capital Buenos Aires - Argentina Tel & Fax:(011)4315-3269 http://rednet.com.ar ====================== ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4161&edit=1

« previous php.bugs (#20828) next »