Result not expected vPHP,VServer
Damon Pillinger
daisychain at iinet.net.au
Tue Feb 21 07:32:01 CST 2006
Hi Guys,
It has to be a PHP file, solved.
Best regards
Damon L. Pillinger
Director Daisychain EDi
Suite 3
4 Winston Court
Moorabbin 3189
Phone : +61 3 9532 1220
Fax : +61 3 9532 1280
-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Moroz Yuriy
Sent: Monday, 20 February 2006 7:51 PM
To: Valentina Developers
Subject: Re: Result not expected vPHP,VServer
Ruslan Zasukhin пишет:
> 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>
>>
I think you need
test.php
--------------
<?
function foo ()
{
echo "Enter foo...";
echo "Some HTML inside foo...";
echo "Leave foo.";
}
?>
<HTML><BODY>
<? foo(); ?>
</BODY></HTML>
----------------
if your file have extension ".html", web server don't execute php
inside your html.
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list