Re: is my server working
| From: | DvDmanDT | Date: | Sun, 15 Jun 2003 08:18:36 +0000 |
| Subject: | Re: is my server working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151543@lists.php.net to get a copy of this message | ||
Check the source of the output (view->source), is the PHP tags there? If so,
your Apache (php accutually) doesn't parse the .php files...
"Khoo Merry" <merry_e_k@yahoo.com> skrev i meddelandet
news:20030615050912.42287.qmail@web41708.mail.yahoo.com...
> 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!