I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...".
I am using PHP 5. Here is the code that deals with defining x:
$x = escapeshellarg( $_GET[x] );
What should I do? thanks.