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 #178642 is a reply to message #178641] Sun, 15 July 2012 12:49 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Christoph Becker wrote:
> 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
>
Really? I must try that..

I have to say I never bothered to write a php file that didn't start
with <?php



--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
[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: Sat Nov 23 01:17:03 GMT 2024

Total time taken to generate the page: 0.06059 seconds