In order for any php tag to be acted upon, the server needs to know to look for it. If
you're putting PHP tags in HTML documents it will not look for them and therefore will
not act on them. What you need to do is either set up your server to process HTML
files (which slows the server down a lot if you don't have many HTML pages with php in
them) or you can rename all your HTML files that have PHP tags in them to .php. I hope
that made sense. Reply if you have any problems.
Lukas Noskievic wrote:
> Can you anybody help? I can't run the script inside the html document.
>
> <body>
> <? echo "Hello world" ?>
> </body>
>
> Pages written in php and saved as xxx.php works good so i think php.ini and
>httpd.conf (Apache WebServer) are OK. Section 'short_open_tag' in php.ini is setting
>to 'on'.
>
> Please help...
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Paul Smith
[EMAIL PROTECTED]
http://www.dostuff.net
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]