Can't pass variables in address bar
Posted 28 March 2006 - 01:54 AM
Hey, i've been using PHP for about 3 years and i've hit an odd problem. My server was wiped and the software was re-installed the other day and now my PHP files won't pass variables in the address bar.
<a href="page.php?id=1">click here</a>
If I click this link it won't pass the variable to page.php even though everything looks fine in the address bar. I've tried everything and can only assume that the problem lies with a setting relating to PHP that must have been altered. Any ideas? Thanks .
Posted 28 March 2006 - 03:53 AM
[a href=\"http://us3.php.net/register_globals\" target=\"_blank\"]http://us3.php.net/register_globals[/a]
Posted 28 March 2006 - 04:18 AM
I can't stop you from doing something silly, but at least I can help you do it right.
Posted 28 March 2006 - 09:33 AM
Perfect! Thanks a lot guys. Sorry for asking such a n00b question, but i've never come across this before. Thanks again for the help.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users