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

Home » FUDforum Development » Bug Reports » very terrible bug
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: very terrible bug [message #6001 is a reply to message #5995] Mon, 30 September 2002 19:26 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
As you probably know fgets() does not guarantee to read 8192 bytes, it'll stop if it encounters a \n or any other line end character as defined by Solaris' libc library.
To be honest this is the first time I hear of this limitation on Solaris.
Then again I am not big Solaris expert so I dunno.

FUDforum does not however use fgets of fputs() it uses fread() and fwrite(), which write the entire chunk to disk so this should not be a problem. Since php would buffer the writes as need be until the entire file is written to disk.

Doing <!--#include file="header.tmpl"--> is not correct for multitude of reasons, if you are already using PHP you should use PHP's own include() or require() or even readfile() to include files. This also adds dependency on apache includes being allowed an enabled.


FUDforum Core Developer
[Message index]
 
Read Message icon8.gif
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error when i try create new thread
Next Topic: import forum data problem
Goto Forum:
  

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

Current Time: Sat Nov 23 21:09:53 GMT 2024

Total time taken to generate the page: 0.04984 seconds