FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Registration troubles (Users can't registrate (registration timeout))
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Registration troubles [message #165227 is a reply to message #165225] Fri, 13 May 2011 05:07 Go to previous messageGo to previous message
AlxChep is currently offline  AlxChep
Messages: 9
Registered: March 2011
Karma:
Junior Member
I am stupid, there is a real much easier way, that is supported by any SQL/PHP, and it is mentioned in my upper link:
Цитата:
There's three common solutions...

1.

One common solution is to store the dates in DATETIME fields and use PHPs date() and strtotime() functions to convert between PHP timestamps and MySQL DATETIMEs. The methods would be used as follows -

$mysqldate = date( 'Y-m-d H:i:s', $phpdate );
$phpdate = strtotime( $mysqldate );
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moderated forum?
Next Topic: Remove Registration Link
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 23:46:03 GMT 2024

Total time taken to generate the page: 0.05494 seconds