[PHP] User Timezone

2012-10-20 Thread Karl DeSaulniers
Hello all, Happy weekend. Hoping you can help me with an age old question. I am trying to get a users timezone for a purchase online. I know that php is not really able to get a timzone of a user because its a server side execution with the date functions. But I wanted to get a little help on my

[PHP] Re: User Timezone

2012-10-20 Thread Maciek Sokolewicz
On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age old question. I am trying to get a users timezone for a purchase online. I know that php is not really able to get a timzone of a user because its a server side execution with the date functi

Re: [PHP] Table help needed

2012-10-20 Thread Maciek Sokolewicz
On 20-10-2012 07:52, tamouse mailing lists wrote: Surprised no one else has jumped on the "Don't use mysql anymore" thing here. Quick and dirty PDO implementation: https://gist.github.com/3922192 I'm actually more surprised that the OP hasn't even bothered to check the standard HTML syntax f

RES: [PHP] Re: User Timezone

2012-10-20 Thread Samuel Lopes Grigolato
Have you tried Google Timezone API? (https://developers.google.com/maps/documentation/timezone/) I don't know if it's free to use, probably not. You may note that you need user's longitude/latitude to query this API. A solution is to query Google Places API (https://developers.google.com/places/)

Re: [PHP] Missing email

2012-10-20 Thread Daniel Brown
On Sat, Oct 20, 2012 at 5:00 AM, Karl DeSaulniers wrote: > @Moderator > Any reason why my emails do not post or at least dont post for hours later? There is no moderator on this list. I'm probably about as close as it comes. Can you explain more about the problems you're experiencing so tha

Re: [PHP] Table help needed

2012-10-20 Thread Jim Giner
On 10/20/2012 8:26 AM, Maciek Sokolewicz wrote: On 20-10-2012 07:52, tamouse mailing lists wrote: Surprised no one else has jumped on the "Don't use mysql anymore" thing here. Quick and dirty PDO implementation: https://gist.github.com/3922192 I'm actually more surprised that the OP hasn't e

RE: [PHP] Table help needed

2012-10-20 Thread admin
> -Original Message- > From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] > Sent: Saturday, October 20, 2012 1:53 AM > To: admin > Cc: Chris Payne; php-general@lists.php.net > Subject: Re: [PHP] Table help needed > > On Fri, Oct 19, 2012 at 6:09 PM, admin > wrote: > >> -Orig

Re: [PHP] Table help needed

2012-10-20 Thread Maciek Sokolewicz
On 20-10-2012 21:52, admin wrote: Chris, Let me first apologize for a couple syntax errors I had in the real quick explanation. I answered your question in relationship to your knowledge of the subject based on the question it's self. I want to apologize for the comments that followed

[PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
On Oct 20, 2012, at 7:23 AM, Maciek Sokolewicz wrote: On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age old question. I am trying to get a users timezone for a purchase online. I know that php is not really able to get a timzone of a user

Re: RES: [PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
Dont know how I would get longitude and latitude of my users. Also, not using HTML5 except for layout reasons. Liquid canvas. So I am using HTML 4 transitional for structure. Thanks for the response! I will at least look into your solution. Couldn't hurt. :) Best, Karl On Oct 20, 2012, at 7:35

Re: [PHP] Re: User Timezone

2012-10-20 Thread Matijn Woudt
On Sun, Oct 21, 2012 at 12:56 AM, Karl DeSaulniers wrote: > > On Oct 20, 2012, at 7:23 AM, Maciek Sokolewicz wrote: > >> On 20-10-2012 09:39, Karl DeSaulniers wrote: >>> >>> Hello all, >>> Happy weekend. Hoping you can help me with an age old question. >>> I am trying to get a users timezone for a

Re: [PHP] Re: User Timezone

2012-10-20 Thread Karl DeSaulniers
On Oct 20, 2012, at 6:02 PM, Matijn Woudt wrote: On Sun, Oct 21, 2012 at 12:56 AM, Karl DeSaulniers > wrote: On Oct 20, 2012, at 7:23 AM, Maciek Sokolewicz wrote: On 20-10-2012 09:39, Karl DeSaulniers wrote: Hello all, Happy weekend. Hoping you can help me with an age old question. I am tr