Click to See Complete Forum and Search --> : Php not recognizing variables in the URL automatically


jhilb
10-17-2003, 09:45 AM
I have moved some PhP code from one server to another. Now some links do not work because the system does not recgonize some of the tags, immediately.

That is the link http://www.test.com/mypage?t=12&q=20

In the PhP code both $t and $q are not populated. Isn't there a make option for PhP to enable this (I built this PhP from source) or is something else wrong?

thanks
j

Natty_Dreadlock
10-17-2003, 11:08 AM
use $_GET["t"] and $_GET["q"] instead, i think the register_globals option is set to off in your php.ini....
hth

jhilb
10-17-2003, 01:09 PM
hmm, ok, I'll check that out. Thanks.