Result not expected vPHP,VServer

Damon Pillinger daisychain at iinet.net.au
Mon Feb 20 16:14:03 CST 2006


Hi Guys,
Not sure if this is ValPHP, ValServer or a webs server problem.

<?
function foo () 
{
  echo "Enter foo...";
?>Some HTML inside foo...<?
  echo "Leave foo.";
}
?>

  <HTML><BODY>

  <? foo(); ?>

  </BODY></HTML>

Should return when the webpage is accessed ./test.html i.e. not a PHP
script

Enter foo...Some HTML inside foo...Leave foo



But I get 

Some HTML inside foo

Only, any ideas.

Thanks


Best regards

Damon L. Pillinger


More information about the Valentina mailing list