Hi
I have a PHP code which retrieves the value of a GET parameter using the following code (xxx is the variable name):
if (isset($_GET[xxx])) {
$value = $_GET[xxx];
}
this code works perfectly when I run it on my machine (I am using Apache Web server), but the same line produces an error when I run it on Xitami Web server.
This is the error:
"Notice: Use of undefined constant xxx - assumed 'xxx' in
C:\xitami-25\app\webpages\file.inc.php on line 186"
Is my code correct?
Is it a configuration error in the Xitami installation?
thanks in advance