Migration once again
| From: | �ystein H�land | Date: | Wed, 04 Jun 2003 18:19:39 +0000 |
| Subject: | Migration once again | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150229@lists.php.net to get a copy of this message | ||
Now when I've learned that $_SERVER['PHP_SELF'] is correct and
$_SERVER[PHP_SELF] is wrong I wonder why the following code
<SCRIPT LANGUAGE=\"JavaScript\">
<!--//
function openPrintCloseWindow(){
myWin=window.open(\"$_SERVER['PHP_SELF']?skrivut=yeah&target=$target\",\"pri
ntout\",\"scrollbars=yes,status=yes,screenX=0,screenY=0,WIDTH=640,height=500
\");
}
//-->
</SCRIPT>
parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or
T_VARIABLE or T_NUM_STRING