Problems with globals on php 4.0.6/IIS 4
| From: | Jan Erik Dyve | Date: | Mon, 13 May 2002 07:19:35 +0000 |
| Subject: | Problems with globals on php 4.0.6/IIS 4 | ||
| Groups: | php.install php.windows | ||
| Request: | Send a blank email to php-install+get-6962@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with global variables on a NT 4 system with IIS 4 and php
4.0.6 (cgi). I try to set a global variable inside a function with the
following code,
$GLOBALS[$varname]=$varvalue
but this doesn't work. The same code works on w2k with iis 5.0 and the same
php.ini, so I don't think it is anything wrong with the php configuration.
Anyone experienced the same problem, or perhaps a solution or tip?
Jan Erik