Hi Sean,
What webserver are you using? Is it using the Apache module of PHP or the
CGI version?
Perhaps the extension of your file doesn't have the PHP processor associated
with it (if it is installed as an Apache process)?
Maybe you are using the CGI version incorrectly?
With the command
Try:
html
head
titlePHP Test Example/title
/head
body
?php
echo hr;
echo date(H:i, jS F);
echo p;
echo Hi, I am a PHP script!p;
echo hr;
Rudolf,
I have tried adding the double quotes, and when I do, nothing at all is
displayed. Adding single quotes to the script, just adds single quotes to
the output.
Sean
Rudolf Visagie wrote:
Try:
html
head
titlePHP Test Example/title
/head
body
It sounds like the PHP isn't getting parsed. Check the webserver is
configured correctly for the extension of your file, or that your system
requires you to use the CGI version of the PHP interpreter.
Rudolf,
I have tried adding the double quotes, and when I do, nothing at all is
displayed.
, so Kelly is
correct thinking that your code does not even get parsed. Why, I've no idea.
Rudolf
-Original Message-
From: T.Sean Schulze [mailto:[EMAIL PROTECTED]]
Sent: 13 September 2001 03:32
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] php4 and apache on SuSE Linux
Kelly
5 matches
Mail list logo