have you enabled the php input filter?<div><br></div><div>In general tho mate, this is bad practice.  Put it in code somewhere, not in a block. (like page.tpl.php or node.tpl.php).  </div><div><br></div><div><br><br><div class="gmail_quote">
On Tue, Jan 18, 2011 at 7:42 PM, Jarry <span dir="ltr">&lt;<a href="mailto:mr.jarry@gmail.com">mr.jarry@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
I&#39;m doing some stupid mistake here but I can not help myself:<br>
I created very simple block, using full-html format, with<br>
this block body :<br>
<br>
&lt;?php<br>
include(&quot;ts3/ts3v.php&quot;);<br>
?&gt;<br>
<br>
But when I configure it to be displayed on some page, it does<br>
not get executed, instead of that the very same text is shown.<br>
What am I doing wrong?<br>
<br>
Yet when I open my.site.tld/ts3/ts3v.php directly in browser<br>
it is correctly displayed with output as expected. So where<br>
is the problem?<br>
<br>
BTW, one more question: how could I get the above described<br>
block refreshed every 15 seconds?<br>
<br>
Jarry<br>
<br>
<br>
--<br>
_______________________________________________________________<br>
This mailbox accepts e-mails only from selected mailing-lists!<br>
Everything else is considered to be spam and therefore deleted.<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>-- <br>--<br>Steve Power<br>Principal Consultant<br>Mobile: +44 (0) 7747 027 243<div>Fax: +44 (0)160 421 2871<br>Skype: steev_initsix<br><a href="http://www.initsix.co.uk" target="_blank">www.initsix.co.uk</a> :: Initsix Heavy Engineering Limited<br>
--<br>This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Initsix Heavy Engineering Limited.<br>
If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone.<br>Please contact the sender if you believe you have received this email in error.<br>
<br>Initsix Heavy Engineering Limited<br>Registered in the UK: 5036938<br>Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England. </div><br>
</div>