We're not gonna die. We can't die, Bendis. You know why? Because we are so very pretty. We are just too pretty for God to let us die.

Mal ,'Serenity'


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 - Feb 26, 2003 3:21:34 pm PST #3246 of 10000

Jon, I noticed your code in Technology, and this part:

$body = 'username: ' . $_user->name

made me think -- what happens to interpolated variables in PHP which have dots in them?

I mean as

$x = $firstname . $lastname

is the code to smoosh two vars together, what happens if one of the vars contains a dot itself? I'm sure I'm barking up the wrong tree but it could explain it.


Elena - Feb 26, 2003 3:36:43 pm PST #3247 of 10000
Thanks for all the fish.

My husband had a problem with the ballot, too (he ended up sending an e-mail, correctly, I hope) and his name has an apostrophe.


Rebecca Lizard - Feb 26, 2003 3:52:16 pm PST #3248 of 10000
You sip / say it's your crazy / straw say it's you're crazy / as you bicycle your soul / with beauty in your basket

t does the smug dance of the punctuation-less

t but has not sent in vote yet. should do that


John H - Feb 26, 2003 4:17:01 pm PST #3249 of 10000

Am I supposed to be unable to have a number less than five in my refresh box in Message Centre now? Because it was still set to three today. I've changed it.


brenda m - Feb 26, 2003 4:19:04 pm PST #3250 of 10000
If you're going through hell/keep on going/don't slow down/keep your fear from showing/you might be gone/'fore the devil even knows you're there

ita did the changes manually, so you might've just been missed.


John H - Feb 26, 2003 4:22:03 pm PST #3251 of 10000

John H - Feb 26, 2003 4:22:25 pm PST #3252 of 10000

Fair enough if it was manual manual. But if there was some kind of programmatic "update users set update_time = 5 where update_time < 5" then something went wrong with it, I'd say.


Jon B. - Feb 26, 2003 5:28:00 pm PST #3253 of 10000
A turkey in every toilet -- only in America!

what happens if one of the vars contains a dot itself? I'm sure I'm barking up the wrong tree but it could explain it.

No idea, but as Elena pointed out, it's not just dots so I don't think that's it.


§ ita § - Feb 26, 2003 5:35:28 pm PST #3254 of 10000
Well not canonically, no, but this is transformative fiction.

John, I think it's the regexp:

"/^([a-z ]*^<)?([a-z0-9._-])+@([a-z0-9.-])+(\\.)([a-z]{2,4})(>)?$/i"

for checking a valid e-mail address that's choking on name punctuation.


John H - Feb 26, 2003 5:45:54 pm PST #3255 of 10000

Oh, OK, that makes sense, but why is that checking people's names -- because we're doing them in the form:

John H <johnh@blah.com>

or something?

So just chuck out the nice bit and just reduce it to the bare address is the quick solution.