Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] php help


On Wednesday, March 26, 2003, at 02:40 PM, Simon Bryan wrote:

Hi al,
I have the following code - downloaded from ZEND - that checks a users name and password against our NT server, the username is then stored in $USER. How can i then make the contents of that value available to other php pages?

off the top of my head i'd look at storing the uname in a cookie, or session variable if you're using them. I _think_ that's about the only way you can make vars persist across pages...

cheers,
..S.