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 #182503 is a reply to message #182499] Fri, 09 August 2013 00:44 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 8/8/2013 6:58 PM, Christoph Michael Becker wrote:
> 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>
>

In general, buffering should be set to off in production systems. With
proper design of your code, you don't need output buffering, and it just
adds one more layer of processing to the scripts.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Wed Nov 27 20:56:34 GMT 2024

Total time taken to generate the page: 0.03976 seconds