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

Home » Imported messages » comp.lang.php » Re: Counter reset or not? UPDATE
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Counter reset or not? UPDATE [message #182499 is a reply to message #182497] Thu, 08 August 2013 22:58 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
Scott Johnson wrote:

> One of the biggest overlooked mistakes is having a blank space prior to
> the delimiter. This is sometimes caused by the text editor.

If one is working with UTF-8 encoded PHP files, there may be even an
"invisible" BOM before the opening PHP tag; so one should always save
those files without a BOM.

However, if a BOM or any whitespace in front of the opening PHP tag
causes any trouble is mostly depending on the PHP ini setting
output_buffering[1]. I usually set this to "Off" in the development
environment, so I can catch these "headers already sent" errors early.

[1]
< http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffer ing>

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sql how to have the total rows number in this case (this is correct question)
Next Topic: fetching value from related multiple rows & columns in PHP SQL
Goto Forum:
  

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

Current Time: Sun Nov 10 06:04:42 GMT 2024

Total time taken to generate the page: 0.04978 seconds