Re: Begging PHP, length of message
From: Shawn Wilson (shawn_at_glassgiant.com)
Date: 01/16/04
- Next message: Rolf Wester: "How to list a directory"
- Previous message: Eric Veltman: "ezPublish template language"
- In reply to: Gerry N: "Re: Begging PHP, length of message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Jan 2004 09:28:37 -0400
Gerry N wrote:
>
> >>
> >> Any clue?
> >
> >I find that code really hard to read. My best guess (without reading the code
> >line by line) is that it's cutting off after a newline of after the 1024 bytes
> >mentioned in the fgets. I would count the characters (actually, just use strlen
> >instead of counting). See if the length conforms to the 1024 or 2020
> >characters. Also, does it always end on a newline or will it cut off mid-word?
> >
> >Answering those questions might give you a clue.
> >
> >Is the whole entry being written to the text file?
> >
> >Could you give an example of the text file you're storing the text in?
> >
>
> Changing the 1024 doesn't make any different but the changing of the
> 2020 number did the job. Though, where does the 2020 come from???
> Doesn't seem to fit in the digital world!?
It is an strange number. I don't know why they would have chosen it.
Regards,
Shawn
-- Shawn Wilson shawn@glassgiant.com http://www.glassgiant.com I have a spam filter. Please include "PHP" in the subject line to ensure I'll get your message.
- Next message: Rolf Wester: "How to list a directory"
- Previous message: Eric Veltman: "ezPublish template language"
- In reply to: Gerry N: "Re: Begging PHP, length of message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|