Re: Begging PHP, length of message

From: Shawn Wilson (shawn_at_glassgiant.com)
Date: 01/16/04


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.


Relevant Pages

  • Re: Questions for Gerry about his "Single" partial 6/49 Cover for 131 Lines
    ... points and some questions for Gerry. ... 274,975 combs uncovered. ... If you confine it to an integer distribution range of only 3 ... then for example the entry for 115 lines would be disqualified. ...
    (rec.gambling.lottery)
  • ACC 260 announcement
    ... Welcome to ACC 260, the latest in the series of "Araucaria Clueing ... the first winner). ... Write a clue consisting of a normal two-part cryptic clue of an ... "entry" which is either the heart or the ...
    (rec.puzzles.crosswords)
  • Reminder: ACC 260 announcement
    ... Only one entry received and acknowledged so far... ... the previous ACC. ... Write a clue consisting of a normal two-part cryptic clue of an ... If you do not get an acknowledgment within 48 hours, ...
    (rec.puzzles.crosswords)
  • ACC 222 Results
    ... agonizing, I declare the winner to be Clive Tooth, who should also be ... "Cold Comfort Farm" is vital clue left out on table top in confusing ... This entry is the winner. ... Mark Twain may be found in chronicle, ...
    (rec.puzzles.crosswords)
  • Re: ASCWC 21 clue summary
    ... Peter Daniels: ... poster's _last_ offering was their actual entry, ... # The last thing you post in the thread that looks like a clue ... And then I stated clearly in the clue-listing posting: ...
    (rec.puzzles.crosswords)