X-Apparently-To: merry_e_k@yahoo.com via 66.218.93.124; 14 Jun 2003 23:46:17 -0700 (PDT)
Return-Path: <johnlist@gulfbridge.net>
Received: from 68.165.13.138  (EHLO localhost.localdomain) (68.165.13.138)
  by mta106.mail.scd.yahoo.com with SMTP; 14 Jun 2003 23:46:17 -0700 (PDT)
Received: from there (gulfbridge [127.0.0.1])
	by localhost.localdomain (8.11.6/8.11.6) with SMTP id h5F6mmr18336;
	Sun, 15 Jun 2003 02:48:48 -0400
Content-Type: text/plain;
  charset="iso-8859-1"
From: John Hicks <johnlist@gulfbridge.net>
To: Khoo Merry <merry_e_k@yahoo.com>, php-general@lists.php.net
Subject: Re: [PHP] is my server working
Date: Sun, 15 Jun 2003 02:48:47 -0400
X-Mailer: KMail [version 1.3.2]
References: <20030615050912.42287.qmail@web41708.mail.yahoo.com>
In-Reply-To: <20030615050912.42287.qmail@web41708.mail.yahoo.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Length: 939

Merry--

No, it's not working.

Does your Apache httpd.conf file load the PHP modules?

Try changing your tags from <? ... ?> to <?php ... ?>

Try a page that contains only this one line:

<?php phpinfo(); ?>

Good luck.

--John

On Sunday 15 June 2003 01:09 am, Khoo Merry wrote:
> I'm using windows me, server apache 1.3 for php.
> I had wrote this code and tried it at local host, but the
> php code didn't work. The code is like this:
>
> <?
> $Greet = "Hello World"
> $Today = date("l F d, Y");
> ?>
> <html>
> <body>
> Today's date is
> <?
> print("$Today\n");
> print("$Greet");
> ?>
> </body>
> </html>
> Istead of print
> Today's date is Sunday June 14, 2003
> Hello World
> The out put is only "Today's date is". Is my server
> working with php? I am really appreciate if anyone can
> answer my problem. Thank you.
>
> merry
>
>
>
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!