Re: Filters and sanitizing a regexp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 26, 2008 at 12:23 PM, Nathan Rixham <nrixham@xxxxxxxxx> wrote:
> Eric Butera wrote:
>>
>> On Fri, Sep 26, 2008 at 12:03 PM, Richard Lynch <rlynch@xxxxxxxxx> wrote:
>>>>
>>>> -----Original Message-----
>>>>>
>>>>> hate to say this but why not cater for all eventualities and just use
>>>>> strtotime( $whatever );
>>>>
>>>> Well it just doesn't have enough geek factor...
>>>
>>> Plus, strtotime() does non-intuitive things with some inputs...
>>>
>>> I'd insist on at least some kind of confirmation page if you use that
>>> beast.
>>
>> In the sites I write I have a lot of success with strtotime as long as
>> I have a - to / converter.  I also put a note of (Format date as
>> MM/DD/YYYY).  Funny that people still seem to want to type -'s.  We're
>> all creatures of habit, right?  There is always a way to edit stuff
>> though so it isn't the end of the world if it goes weird.
>
> you know you could just change the input to a date selector / calender / 3
> text boxes
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Yep.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux