intermittent global vars issue with iis

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

i have to run php 4 on IIS 6 on win 2k and something seeminly really
weird is happening.

the first few times i hit the page, any vars posted from the form and
any session_vars don't seem to be getting initialized. i know this
since i have a form var which i evaluate to enter an if...then block
and im not entering the if...then block. however, if i echo the form
var right before the if...then to see what it is, then for some reason
the code does enter the if...then block. i didn't change any logic at
all, but simply tried writing the the value of the var to the screen?
it seems the initialization of global vars is somehow being triggered
by writing them to the screen. does this make any sense at all?


Re: intermittent global vars issue with iis


On 17 Jul 2004 08:31:18 -0700, (nick) wrote:

Quoted text here. Click to load it

Can you give some examples of how the code looks like and where you
write something into the screen.

have you checked "register globals" and is



HTH, Jochen
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces. /

Site Timeline