FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Stuck on Exercise 1
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Stuck on Exercise 1 [message #178641 is a reply to message #178640] Sun, 15 July 2012 12:42 Go to previous messageGo to previous message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma:
Member
The Natural Philosopher wrote:
> AFAIK all php programs MUST start with <?php even if they are
> immediately reverted to text with ?>

No. It's even legal for a PHP file to contain HTML only (without any
<?php ...?>).

But to be processed as PHP the webserver has to know, that it's a PHP
file. This is typically done by saving the file as *.php instead of *.html

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lost $_SESSION in Google Chrome
Next Topic: Business Developer for IT company
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:49:02 GMT 2024

Total time taken to generate the page: 0.04064 seconds