Result not expected vPHP,VServer

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Feb 20 10:03:40 CST 2006


On 2/20/06 7:14 AM, "Damon Pillinger" <daisychain at iinet.net.au> wrote:

Hi Damon,

> Hi Guys,
> Not sure if this is ValPHP, ValServer or a webs server problem.
> 
------------------------------------
This is some.php file
> <?
> 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.

* You mean problem is that you do not get  "Enter foo..." ?

* Try to remove HTML part in foo, to see echo work then.

* I do not see who make   <HTML><BODY>

* it is better to see full your code



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list