Re: [PHP] GET globals REQUEST the plot thickens
Ben Edwards wrote: From what I have $_REQUEST douse NOT work. As I said vars are being passed on the URL. My code: echo brsec=.$_REQUEST[_section].brreq=$REQUEST_URIbr; the output sec= req=/adultdyslexia.org/quiz.php?_menu=TOPissue=1_section=QUIZgen=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
[PHP] GET globals REQUEST the plot thickens
From what I have $_REQUEST douse NOT work. As I said vars are being passed on the URL. My code: echo brsec=.$_REQUEST[_section].brreq=$REQUEST_URIbr; the output sec= req=/adultdyslexia.org/quiz.php?_menu=TOPissue=1_section=QUIZgen=Y if I change the request to GET it works fine! Ben -- * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Homepage - nothing of interest here http://gurtlush.org.uk * * Webhosting for the masses http://www.serverone.co.uk * * Critical Site Builderhttp://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org * * i-Contact Progressive Video http://www.videonetwork.org * * Fun corporate graphics http://www.subvertise.org * * Bristol Indymedia http://bristol.indymedia.org * * Bristol's radical news http://www.bristle.org.uk * -- 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
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 brsec=.$_REQUEST[_section].brreq=$REQUEST_URIbr; the output sec= req=/adultdyslexia.org/quiz.php?_menu=TOPissue=1_section=QUIZgen=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
Re: [PHP] GET globals REQUEST the plot thickens
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