I have checked the php.ini file. The option for short_open_tag is set to
on (not that it makes any difference). 

I am installing PHP again to see if it makes any difference..

Thanks
Hari

-----Original Message-----
From: Mike Ni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 02, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-INSTALL] Installing PHP 5.0 - viewing php script


Perhaps it has something to do with "php.ini".
Php.ini can determine the basic characterisctic
of your php. 


Mkie

--- Hari Bhanujan <[EMAIL PROTECTED]> wrote:
> Jaap and all PHP gurus
> 
> I tried the script for phpinfo()
> 
> Here is what I put in the index.html file
> <h1>
> Test
> </h1>
> <?php
> phpinfo()
> ?>
> I can see the test inside of html tags OK but not
> info about php that I
> have installed..
> 
> Any suggestions -
> 
> Thanks
> Hari
> 
> -----Original Message-----
> From: Jaap van Ganswijk [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 02, 2004 2:58 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-INSTALL] Installing PHP 5.0 -
> viewing php script
> 
> At 2004-03-01 16:07, Hari Bhanujan wrote:
> >The problem is that when I try to embed php inside
> of an html file, I
> can see all the html tags reflecting fine when the
> html file is parsed
> through a browser (IE, Mozilla), but I cannot see
> the php script.
> 
> You are not supposed to see the PHP script in the
> browser
> because it's executed on the server.
> 
> Try a page like:
> 
> <h1>Test</h1>
> 
> <?php
> 
> echo "<h2>Test</h2>\n";
> 
> ?>
> 
> This should result in two headers being shown.
> 
> Also try:
> 
> <?php
> 
> phpinfo();
> 
> ?>
> 
> Greetings,
> Jaap


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster
http://search.yahoo.com

Reply via email to