Jump to content

[SOLVED] Register Globals - affecting my $_GET variables


markduce

Recommended Posts

Hi,

 

I haven't asked for help on here in a long time since I was a wee little noob but am in need at moment!

 

I have a lot of scripts using $_GET variables. However, I have recently moved to a new server with PHP5 on, and this seems to be causing problems, for whenever I use the line to retrieve my get variables I get the following error message :

 

Notice: Undefined index: page in /home/blah/blah/forum.php on line 232

 

Now on line 32 I have $page=$_GET['page'];

 

I thought this was just a standard use of PHP to get the page that I needed, does anyone have any advice how I can counter these error messages? And I can't turn register globals on by the way, my damn hosts won't let me!

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.