• # July 15, 2013 at 3:53 am

    Hi, I’m currently working on a Download request link system. It involves a client that will input his email then the system will generate a **link** that will be sent to the email provided. This link contains the email which is converted to md5 and the time that it has been generated (for purpose of link expiration). I’m just confused with the time stamp since the system will be used by clients all over the world, how am I supposed to get there own time stamp and convert it to my server time so that I could make a valid expiration query.

    I hope you get me. I’m really having trouble here. ;(

    # July 15, 2013 at 4:30 am

    This is completely out of my area but what about grabbing the user’s local timestamp with Javascript and then using that data with PHP?

    and @traq answers. I should have refreshed.

    # July 15, 2013 at 11:14 pm

    @traq , hey sorry for not responding quickly. It took me overnight to understand everything. I googled a lot of different definitions of Time, GMT, Epoch and everything concerning PHP Time stamp till I finally understand not just the meaning but how they work and then I finally understood what were you trying to explain with the code you had given. And now I’m laughing at myself :D HAHA I was that slow… Anyway. Thank you guys @traq, @chrisburton for giving attention to my question. Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.