Page 1 of 1

probably a really stupid variable question....

Posted: Sun Mar 26, 2006 12:18 pm
by spaceace
Hi,

Can anyone tell me if a web based PHP script is accessed by more than 1 person, are the variable values unique to the individual user accessing them or do other users inherit the new values (if that makes sense) ?

The reason I ask is; I've written a web based app where users log in and it performs calculations for them that is producing some unexpected results and I cant replicate the problem as it preforms perfectly for me (the first user logged on).

TIA
Jay

Posted: Sun Mar 26, 2006 12:23 pm
by feyd
unless you're using shared memory resources/techniques, the requests (and variables) are independant of each other.

Posted: Sun Mar 26, 2006 12:28 pm
by spaceace
Hey, thanks for the quick reply.

So for each user, the scripts variables are unique to the user....cool, that narrows things down somewhat.

AFAIK I'm not using any advanced techniques (fairly new to PHP) and my server is a vanilla v5 install.

Thanks for your help.
Jay