Re: [PHP] Unix date (even more bazaar)

2007-12-30 Thread tedd
At 7:07 PM -0600 12/30/07, Richard Lynch wrote: Spacing and/or control (unprintable) characters could easily be messing you up. Use something like: $l = strlen($input); for ($i = 0; $i < $l; $i++){ echo "$i: $input[$i] (", ord($input[$i]), ")\n"; } to see what you're getting. Richard: As u

Re: [PHP] Unix date (even more bazaar)

2007-12-30 Thread Richard Lynch
Spacing and/or control (unprintable) characters could easily be messing you up. Use something like: $l = strlen($input); for ($i = 0; $i < $l; $i++){ echo "$i: $input[$i] (", ord($input[$i]), ")\n"; } to see what you're getting. On Fri, December 28, 2007 5:08 pm, tedd wrote: > At 6:01 PM -0500

Re: [PHP] Unix date (even more bazaar)

2007-12-29 Thread tedd
Yeah, and to what bazaar are you going, old man? Look, I'm so loopy right now, I'm top-posting. How bizarre Ohhh, I hate it when that happens -- but, I have had even more embarrassing moments. As to the problem I posted about strings being different, it was a gremlin I fo

Re: [PHP] Unix date (even more bazaar)

2007-12-28 Thread Daniel Brown
Yeah, and to what bazaar are you going, old man? Look, I'm so loopy right now, I'm top-posting. How bizarre HAPPY NEW YEAR TO ALL, AND TO ALL SHUT THE HELL UP! Be safe, happy, and healthy into 2008! On Dec 28, 2007 6:16 PM, Dan <[EMAIL PROTECTED]> wrote: > "tedd" <[

Re: [PHP] Unix date (even more bazaar)

2007-12-28 Thread Dan
"tedd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi gang: This really bazaar Here's the code and demo: http://webbytedd.com/c/unix-time1/index.php If I cut/paste the following string "as-is" into the "Input Date" portion of the form: 10-18-2009 00:00:00 It works and retu

Re: [PHP] Unix date (even more bazaar)

2007-12-28 Thread tedd
At 6:01 PM -0500 12/28/07, tedd wrote: Hi gang: This really bazaar Here's the code and demo: http://webbytedd.com/c/unix-time1/index.php If I cut/paste the following string "as-is" into the "Input Date" portion of the form: 10-18-2009 00:00:00 It works and returns a UNIX timestamp of 1255

Re: [PHP] Unix date (even more bazaar)

2007-12-28 Thread tedd
Hi gang: This really bazaar Here's the code and demo: http://webbytedd.com/c/unix-time1/index.php If I cut/paste the following string "as-is" into the "Input Date" portion of the form: 10-18-2009 00:00:00 It works and returns a UNIX timestamp of 1255885200 However, if I cut/paste the foll