Re: Verry strange GET behaviour
| From: | Jason Wong | Date: | Tue, 07 Oct 2003 16:17:11 +0000 |
| Subject: | Re: Verry strange GET behaviour | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165324@lists.php.net to get a copy of this message | ||
On Tuesday 07 October 2003 23:04, Ben Edwards wrote:
> Been having a problem accessing a variable that is passed on a URL.
> I've been developing PHP for years and this makes no seance.
>
> The variable I am trying to access in the script is $_section. I put
> the following code at the beginning (before anything else apart from <?)
>
> echo "!$REQUEST_URI!$_section!";
>
> I get the following output
>
> !/adultdyslexia.org/quiz.php?_menu=TOP&issue=1&_section=QUIZ&gen=Y!!
>
> So why is $_section blank!
Are any of the other variables there?
What does print_r($GLOBALS) give you?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Today when a man gets married he gets a home, a housekeeper, a cook, a
cheering
squad and another paycheck. When a woman marries, she gets a boarder.
*/