PHP help needed! Why does this code fail?

Posted on the August 14th, 2009 under Uncategorized by Al

The code:

if (phpversion() < 4.1) {  $GET = $HTTP_GET_VARS;  $POST = $HTTP_POST_VARS;  $SERVER = $HTTP_SERVER_VARS;  $COOKIE = $HTTP_COOKIE_VARS;  } else {  $GET = $_GET;  $POST = $_POST;  $SERVER = $_SERVER;  $COOKIE = $_COOKIE;  }  

The error:

 PHP Fatal error: Can’t use function return value in write context in…

Posted by Al via web from frumpa’s posterous

blog comments powered by Disqus