Re: [PHP] Free LAPP stack

2012-10-21 Thread tamouse mailing lists
On Sun, Oct 21, 2012 at 8:15 PM, Robert Stone wrote: > There are several sites offering free LAMP stacks but does anybody know of a > site that has free LAPP stacks available? If you already have a LAMP stack, adding Postgresql is really only a matter of installing it. If you're starting from s

Re: [PHP] Re: User Timezone

2012-10-21 Thread tamouse mailing lists
On Sun, Oct 21, 2012 at 6:18 PM, Karl DeSaulniers wrote: > On Oct 21, 2012, at 5:11 PM, tamouse mailing lists wrote: >> Using the standard labels in /usr/share/zoneinfo should be able to >> avoid having to keep track of who is and isn't in DST, *provided* you >> find a way to map the user's addres

[PHP] Free LAPP stack

2012-10-21 Thread Robert Stone
Hello, There are several sites offering free LAMP stacks but does anybody know of a site that has free LAPP stacks available? Please don't flame me for preferring PostgreSql. It's to set-up a thin client application. Disk space required approx. 1.5Mb. I need it to facilitate testing. Any sugge

Re: [PHP] Re: User Timezone

2012-10-21 Thread Karl DeSaulniers
On Oct 21, 2012, at 5:11 PM, tamouse mailing lists wrote: On Sun, Oct 21, 2012 at 7:30 AM, Matijn Woudt wrote: On Sun, Oct 21, 2012 at 12:01 PM, Maciek Sokolewicz wrote: On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes, for the US I plan on calculating by state,

Re: [PHP] Re: User Timezone

2012-10-21 Thread Matijn Woudt
On Sun, Oct 21, 2012 at 1:12 PM, Ashley Sheridan wrote: > Don't most browsers include this information in the HTTP headers? Nope, you're probably confused with servers that return their time and date. - Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Re: User Timezone

2012-10-21 Thread tamouse mailing lists
On Sun, Oct 21, 2012 at 7:30 AM, Matijn Woudt wrote: > On Sun, Oct 21, 2012 at 12:01 PM, Maciek Sokolewicz > wrote: >> On 21-10-2012 01:11, Karl DeSaulniers wrote: > > Thanks for the response. Yes, for the US I plan on calculating by > state, but > this website is not geared to ju

Re: [PHP] Re: User Timezone

2012-10-21 Thread tamouse mailing lists
On Sun, Oct 21, 2012 at 6:12 AM, Ashley Sheridan wrote: > Don't most browsers include this information in the HTTP headers? Not that i have seen. Quick test using nc: Firefox: tamara@caesar:~$ nc -l 3000 GET / HTTP/1.1 Host: localhost:3000 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15

RES: [PHP] Re: User Timezone

2012-10-21 Thread Samuel Lopes Grigolato
Coincidentally, TODAY I had to adjust my clock one hour forward because of DST (poor sleep =[). No so easy-to-solve problem, after all... -Mensagem original- De: Matijn Woudt [mailto:tijn...@gmail.com] Enviada em: domingo, 21 de outubro de 2012 10:30 Para: Maciek Sokolewicz Cc: Karl DeSa

Re: [PHP] Re: User Timezone

2012-10-21 Thread Matijn Woudt
On Sun, Oct 21, 2012 at 12:01 PM, Maciek Sokolewicz wrote: > On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes, for the US I plan on calculating by state, but this website is not geared to just the US. So I am looking for a solution that lets me als

Re: [PHP] Re: User Timezone

2012-10-21 Thread Samuel Lopes Grigolato
Sorry if it's to dumb or hacky solution, but can't you just create a Date with JavaScript and send it with your request in a hidden field? You could guess the timezone with this date and the server's one. I don't know what you're going to do with this info, just be aware that if the users clock is

Re: [PHP] Re: User Timezone

2012-10-21 Thread Ashley Sheridan
Karl DeSaulniers wrote: > >On Oct 21, 2012, at 5:01 AM, Maciek Sokolewicz wrote: > >> On 21-10-2012 01:11, Karl DeSaulniers wrote: > Thanks for the response. Yes, for the US I plan on calculating by > state, but > this website is not geared to just the US. > So I am looking for

Re: [PHP] Re: User Timezone

2012-10-21 Thread Karl DeSaulniers
On Oct 21, 2012, at 5:01 AM, Maciek Sokolewicz wrote: On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes, for the US I plan on calculating by state, but this website is not geared to just the US. So I am looking for a solution that lets me also calculate by country/regio

Re: [PHP] Re: User Timezone

2012-10-21 Thread Maciek Sokolewicz
On 21-10-2012 01:11, Karl DeSaulniers wrote: Thanks for the response. Yes, for the US I plan on calculating by state, but this website is not geared to just the US. So I am looking for a solution that lets me also calculate by country/region. Was looking on google and found geoip, but not sure if