I have many urls within my site that pass variables via the get method in the url. Example test.php?name=tom.
I have for a couple of years now been able to reference the variable within the test.php script itself by just doing the following: echo "Name = " . $name
Now all of a sudden when executing this same script, $name has no value. If I insert the line $name = $_GET("NAME") before the echo, then then script displays the value of $name correctly.
Did this change overnight because of a change in a configuration setting at the server level? I have many php pages that depend on passing values in the url so I will have to add the $_GET everywhere.
If this is a server configuration, Is there a way around this to "override" the global setting for just my site...so that I dont have to make all these changes?
I have for a couple of years now been able to reference the variable within the test.php script itself by just doing the following: echo "Name = " . $name
Now all of a sudden when executing this same script, $name has no value. If I insert the line $name = $_GET("NAME") before the echo, then then script displays the value of $name correctly.
Did this change overnight because of a change in a configuration setting at the server level? I have many php pages that depend on passing values in the url so I will have to add the $_GET everywhere.
If this is a server configuration, Is there a way around this to "override" the global setting for just my site...so that I dont have to make all these changes?