Results 1 to 3 of 3
Apr 20, 2004, 01:45 #1
- Join Date
- Sep 2003
- 0 Post(s)
- 0 Thread(s)
$HTTP_GET_VARS not accessible from within INCLUDEd code?
I have run into this strange problem where i am not able to access $HTTP_GET_VARS from within a piece of code that itself is included in the the main index.php. I have to use $HTTP_GET_VARS because the host is running PHP 4.0.6
What i do is include the content in the index.php frame using include_once(). This included code also needs to read some variables with $HTTP_GET_VARS. But it turns out it doesn't work, echoing the variable just returns nothing.
The same code (using $_GET instead of $HTTP_GET_VARS) works flawless on a recent version of PHP.
Could anybody give me a hint or is this a known issue in any way?