Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 15:09:17 -0700 (PDT)
From:      David Daugherty <doc@wcug.wwu.edu>
To:        David@SkytrackerCanada.com
Cc:        questions@freebsd.org
Subject:   Re: newbie of php problem - code shows no output
Message-ID:  <Pine.LNX.3.96.1000714150746.9496A-100000@sloth>
In-Reply-To: <396F8C2B.7659F647@www3.pacific-pages.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Try naming the file with a .php extension. Also try this instead, it tells
you a whole lot more:
<html>
<head><title>Example</title>
<body>
<?php phpinfo() ?>

</body>
</html>

David
Software Engineer - NetManage
Work email: david.daugherty@netmanage.com
Home email: doc@wcug.wwu.edu
ICQ 21106703
Washington State Resident


On Fri, 14 Jul 2000, David Banning wrote:

> 
> 
> Hi - I am starting out 1st time with PHP4 - just installed.
> 
> My first script called test.php4 gives a blank screen in Netscape;
> 
> <html>
> 
> <body>
> 
> <?php
> 
> $myvar = "Hello World";
> echo $myvar;
> 
> ?>
> 
> </body>
> 
> </html>
> 
> 
> I know the code is there, as when I save the netscape screen to a file,
> the code is there.  Any idea what could cause this?
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000714150746.9496A-100000>