<?php ...... ?> ignored? What's wrong???
From: B.W.H. van Beest (bwvb_at_xs4all.nl)
Date: 07/03/04
- Next message: Mudge: "Re: Any girls?"
- Previous message: Manuel Lemos: "Re: turck-mmcache - 10 milion"
- Next in thread: Me: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: Me: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: R. Rajesh Jeba Anbiah: "Re: <?php ...... ?> ignored? What's wrong???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 03 Jul 2004 02:23:17 +0200
When I try to display a web page with php embedded, the <%php .. %> part
is completely ignored, so it seems.
For example, the next code yields a blank page when displayed in a browser:
<html>
<head>
<title>Test</title>
</head>
<body>
<h1>
<?php
$today = date("l");
print("Hello: it's $today" );
?>
</h1>
</body>
</html>
Running this program from the command line (php <filename>) yields a
correctly expanded stream of data.
My guess is that is has something todo with the configuration of the
(Apache) server. But what??????
===
Apache/1.3.28 (Linux/SuSE) PHP/4.3.3 mod_perl/1.28 configured --
===
Thanks in advance
Bertwim
- Next message: Mudge: "Re: Any girls?"
- Previous message: Manuel Lemos: "Re: turck-mmcache - 10 milion"
- Next in thread: Me: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: Me: "Re: <?php ...... ?> ignored? What's wrong???"
- Reply: R. Rajesh Jeba Anbiah: "Re: <?php ...... ?> ignored? What's wrong???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|