Date: Tue, 16 Oct 2001 16:00:09 -0400 From: "Gerald T. Freymann" <freymann@eagle.ca> To: <freebsd-questions@FreeBSD.ORG> Subject: quick php/apache question re the tags Message-ID: <00de01c1567d$2c2f1b70$0f01a8c0@phantom>
next in thread | raw e-mail | index | archive | help
I have a FreeBSD 4.3-Release box with:
Apache/1.3.20
PHP/4.0.6
mod_perl/1.25
If I call up this sample html file with a web browser, I get a blank page
and a correct title:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
But if I put the exact same code into a file called "text.php" the results
are what you'd expect.
What am I missing in order to have php command in an html file and have
then processed?
Thanks.
gf.
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?00de01c1567d$2c2f1b70$0f01a8c0>
