Reply to Re: [PHP] Location ....

Your name:

Reply:


Posted by "Richard Lynch" on 12/30/05 22:39

On Fri, December 30, 2005 2:16 pm, Robert Cummings wrote:
>> Similarly, watch out for BLANK LINES after the last ?> in your
>> files.
>>
>> They will trip you up for header()
>
> Regarding that last ?> in scripts, the PHP engine intentionally
> supports
> it's omission so that you don't have to think about whether there's an
> invisible trailing space after it.

I'm old.

In PHP 3.0, it would mess you up.

Particularly fun was the EMACS setting that automagically added a
newline for any text file you edited that didn't have one at the
end...

*THAT* sure caused a lot of "fun" on this list back in the day. :-)

Old habits die hard.

Plus, somewhere, I probably have a PHP 3.0 install still running on
some old box... Not tied directly to the 'net nor in production, but
still... :-)

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация