You turned evil a lot faster than I thought you would.

Angel ,'Just Rewards (2)'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


John H - Nov 05, 2002 6:23:07 pm PST #1200 of 10000

Think we should we make a nominal group donation to thank them for hosting us last year?

That would be a resounding No from me!


Jon B. - Nov 05, 2002 11:51:25 pm PST #1201 of 10000
A turkey in every toilet -- only in America!

Getting back to the checking-tag-length thingie, I discovered something interesting --- the javascript "length" method counts carriage returns as one character, but php and its strlen() function counts them as two (CRLF). Unless there's a nifty-easy way in javascript to count all carriage returns as two characters, there's no way to get an accurate tally of the tag length. The javascript will tell people that their tag isn't too long, when in fact it still could be.


John H - Nov 06, 2002 12:35:46 am PST #1202 of 10000

the javascript "length" method counts carriage returns as one character, but php and its strlen() function counts them as two (CRLF).

I think that's really a conversion which happens automagically when the browser sends the form contents to the server. Not that it makes a difference to your point.

Unless there's a nifty-easy way in javascript to count all carriage returns as two characters

I could do that! Easy! [Thinks feverishly whether he can really do it or not] ... probably..?

The javascript will tell people that their tag isn't too long, when in fact it still could be.

Well it's still better than nothing, and anyway, I'm confused, why are people putting linebreaks in their tags? They don't come out, do they?


John H - Nov 06, 2002 12:54:21 am PST #1203 of 10000

OK, I did the script. It probably needs testing, Jon, want to look at the one on my server?


Jon B. - Nov 06, 2002 6:03:21 am PST #1204 of 10000
A turkey in every toilet -- only in America!

Yes...


Noumenon - Nov 06, 2002 12:36:04 pm PST #1205 of 10000
No other candidate is asking the hard questions, like "Did geophysicists assassinate Jim Henson?" or "Why is there hydrogen in America's water supply?" --defective yeti

msbelle just mentioned in Natter that she composed a big election post "but I waited too long and it got eaten." That happened to me last night too, although I had it on the clipboard. But I'm a bad bug tester and can never say exactly what I was doing when I get the fatal error message from posting.


Jon B. - Nov 06, 2002 12:43:33 pm PST #1206 of 10000
A turkey in every toilet -- only in America!

Nou - there was some discussion of that here: Laura "Buffistas Building a Better Board" Oct 4, 2002 3:23:56 pm EDT Also read Typo Boy's post a few down from there.


msbelle - Nov 06, 2002 12:47:38 pm PST #1207 of 10000
I remember the crazy days. 500 posts an hour. Nubmer! Natgbsb

yep - just happened - I had a partially written post in the post message box - boss came in - we talked blah blah - I went and did other things - blah blah - I came back, finished post and hit "post message" and it went to the fatal error page, I hit page back and got the last natter page I was on with new message that had since been posted.

Windows. Netsacpe 4.7X My pages in message center are set to refresh like every minute or so.

hope that makes sense.


Jon B. - Nov 06, 2002 12:53:09 pm PST #1208 of 10000
A turkey in every toilet -- only in America!

I haven't formally tested this, but the one time it happened to me, after I got the fatal error, I hit "refresh", and my post posted!


msbelle - Nov 06, 2002 1:31:48 pm PST #1209 of 10000
I remember the crazy days. 500 posts an hour. Nubmer! Natgbsb

Ahhh. next time will try the Jon B refresh trick.