Re: [PHP] GET globals REQUEST the plot thickens

2003-10-08 Thread Burhan Khalid
Ben Edwards wrote:

From what I have $_REQUEST douse NOT work.  As I said vars are being
passed on the URL.

My code:

echo "sec=".$_REQUEST["_section"]."req=$REQUEST_URI";

the output

sec=
req=/adultdyslexia.org/quiz.php?_menu=TOP&issue=1&_section=QUIZ&gen=Y
if I change the request to GET it works fine!
Is PHP running as compiled/CGI/ or what? And what webserver is this?

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] GET globals REQUEST the plot thickens

2003-10-07 Thread Leif K-Brooks
Marek Kilimajer wrote:

Has you mention what php version are you running? Superglobals are 
available only since 4.1.0
If $_GET works, then his PHP version must support superglobals.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] GET globals REQUEST the plot thickens

2003-10-07 Thread Marek Kilimajer
Has you mention what php version are you running? Superglobals are 
available only since 4.1.0

Ben Edwards wrote:

From what I have $_REQUEST douse NOT work.  As I said vars are being
passed on the URL.

My code:

echo "sec=".$_REQUEST["_section"]."req=$REQUEST_URI";

the output

sec=
req=/adultdyslexia.org/quiz.php?_menu=TOP&issue=1&_section=QUIZ&gen=Y
if I change the request to GET it works fine!

Ben


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php