Page 1 of 1

URL Parameters aren't taken

Posted: Tue Mar 23, 2004 8:19 pm
by drcolossus
Hi,
I got a problem here with my PHP. I'm running Apache (2.0.48) on Windows with PHP 4.3.3 installed. I want to give URL parameters to the next page like ...

<a href='nextpage.html?" . $parameter . "'>click here</a>

On the next page it checks if the variable is available with ...

if (!isset($parameter))
{
echo "Error - No entry ID was found!";
}
else
{

... but it always gives me the error message that no entry was found though everything looks well and the $parameter variable was transfered.
I remember this worked earlier when I had former versions of Apache/PHP installed so maybe this is a server configuration thing. In that case could someone tell me which settings to make in the Apache/PHP configs to allow the URL Parameters?

Thanks alot in advance!

Posted: Tue Mar 23, 2004 8:22 pm
by markl999
See this thread or one of the other 10,000 on the subject ;)

Posted: Tue Mar 23, 2004 9:10 pm
by drcolossus
thanks alot for the fast help! turning register_globals on fixed it!