Page 1 of 1

Passing Variables in PHP

Posted: Fri Aug 09, 2002 9:37 pm
by cypherzeros
I've created a page that passes a variable to the next page via URL. The code is fine and the page work perfectly on the production server, but for some reason I can't get it to pass the variable on my test server here at home.

Does anyone have any idea why? Is there something that I need to turn on/enable in the php server config file?

I just recently installed the test server. I've always worked from a test directory on the production box, so I'm not that familiar with php server setup/config.

Anyone got any ideas? Any help would be much appreciated. Thanks.

-cz

Posted: Fri Aug 09, 2002 9:42 pm
by lc
Well you probably developed the script on a server that has register globals set on and the one you then put it on has it set off.

I think this sticky post deals with your issue: http://www.devnetwork.net/forums/viewtopic.php?t=511

Posted: Fri Aug 09, 2002 9:46 pm
by cypherzeros
Thanks alot, man. I think this is it. I knew it was a config option, just didn't know which one to look for, since I wasn't seeing anything with an obvious label.

Thanks again.

-cz

Posted: Fri Aug 09, 2002 9:48 pm
by cypherzeros
That was the problem. Thanks. :)

-cz