Re: Migration once again

From: Date: Wed, 04 Jun 2003 18:32:07 +0000
Subject: Re: Migration once again
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150230@lists.php.net to get a copy of this message
May be this will fix ? myWin=window.open(\"<?= $_SERVER['PHP_SELF']?>?skrivut=yeah&target=$target\",\"printout\",\"scrollba rs=yes,status=yes,screenX=0,screenY=0,WIDTH=640,height=500 \"); <?= $_SERVER['PHP_SELF']?> : You need to enclose $_SERVER["PHP-SELF"] with <?= ?> tags to be parsed by php. "ØYstein HåLand" <ha@ematte.se> wrote in message news:20030604181944.49274.qmail@pb1.pair.com... > 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 > >

« previous php.general (#150230) next »