On Wednesday 21 February 2001 20:11, Hrishi wrote:
> On Thursday 22 February 2001 00:12, Brandon Orther wrote:
> > Hello,
> >
> > I am trying to finish up a script with instructions on how to add my
> > banner add script to someone's .phtml file.  I need to print <?
> > readfile(""); ?>
>
> use :
> echo '<? yaddayadda ?>';
>
> the single quotes ensure that php does not evaluate the contents of the
> string constant

=> it is sent as is, the browser sees a tag that's unknown to him and 
simply ignores it. I.e. that doesn't work.

Use the proper HTML entities for the brackets:

&lt;? readfile (""); ?&gt;

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

I saw God --------- and she was black.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to