Re: [PHP] alias address in REMOTE_ADDR

2012-05-11 Thread Jim Lucas
On 5/11/2012 10:57 PM, Tóth Csaba wrote: Hi Everyone, I've run into a curious problem, not even really sure it's PHP, but that's where I caught it, so here it is: I have two servers hanging on the net, without proxies. Let's call them Server1 and Server2. Server1 has multiple IP addresses, con

Re: [PHP] alias address in REMOTE_ADDR

2012-05-11 Thread shiplu
On Saturday, May 12, 2012, shiplu wrote: > > > On Saturday, May 12, 2012, Tóth Csaba wrote: > >> Hi Everyone, >> >> I've run into a curious problem, not even really sure it's PHP, but >> that's where >> I caught it, so here it is: >> >> I have two servers hanging on the net, without proxies. Let's

Re: [PHP] alias address in REMOTE_ADDR

2012-05-11 Thread shiplu
On Saturday, May 12, 2012, Tóth Csaba wrote: > Hi Everyone, > > I've run into a curious problem, not even really sure it's PHP, but that's > where > I caught it, so here it is: > > I have two servers hanging on the net, without proxies. Let's call them > Server1 > and Server2. Server1 has multiple

[PHP] alias address in REMOTE_ADDR

2012-05-11 Thread Tóth Csaba
Hi Everyone, I've run into a curious problem, not even really sure it's PHP, but that's where I caught it, so here it is: I have two servers hanging on the net, without proxies. Let's call them Server1 and Server2. Server1 has multiple IP addresses, configured as aliases. My problem: When I do

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
Oh,.. no it works just fine. I wrote Saturday myself not looking to see if it was actually the 1st. My fault for a non-existent date. Thanks for your help though, looks like that did the trick. On another note, just curious why I keep getting your responses, but don't get the emails that I po

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Jim Lucas
On 05/11/2012 05:55 PM, Karl DeSaulniers wrote: Thanks Jim, To tell you the truth, this was handed off to me. Thank you for the response. I knew this was just bloated code. Thanks for verifying that for me. :) Just one question, why does it echo the 7th and not the 1st? I see that... Figuring

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
Never mind, it's because January 1st is not a Saturday. The 7th is. Interesting... so it corrects the date per the text representation of the day?? Thanks again. Best, Karl On May 11, 2012, at 7:42 PM, Jim Lucas wrote: On 05/11/2012 04:11 PM, Karl DeSaulniers wrote: Hello everyone, Got

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
Thanks Jim, To tell you the truth, this was handed off to me. Thank you for the response. I knew this was just bloated code. Thanks for verifying that for me. :) Just one question, why does it echo the 7th and not the 1st? Should be 20120101T162000Z not 20120107T162000Z Best, Karl On May 11,

Re: [PHP] Converting date string to unix timestamp

2012-05-11 Thread Jim Lucas
On 05/11/2012 04:11 PM, Karl DeSaulniers wrote: Hello everyone, Got a quick one (I hope), and probably an easy one. For some reason it is eluding me at the moment. Hoping someone can help. I am building an ics file with PHP and the form that is submitting to create this ics file has a jQuery dat

[PHP] Variables via url

2012-05-11 Thread Ashley M. Kirchner
Can someone point me at examples or directions on how I can pass a variable via a URL in the following way: http://server.domain.com//script///variable/ I will only be passing one single /variable/. And I want the /script/ to use that. I don't want to see what the script i

[PHP] Converting date string to unix timestamp

2012-05-11 Thread Karl DeSaulniers
Hello everyone, Got a quick one (I hope), and probably an easy one. For some reason it is eluding me at the moment. Hoping someone can help. I am building an ics file with PHP and the form that is submitting to create this ics file has a jQuery date picker on it. The date furnished comes to me

Re: [PHP] Performance / AB issue?

2012-05-11 Thread Lars Nielsen
> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg > wrote: >> >> >> Sent from my iPhone 5 Beta [Confidential use only] >> >> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: >> >>> On 10 mei 2012, at 23:26, Lars Nielsen wrote: > >> >> >> Sent from my iPhone 5 Beta

Re: [PHP] Performance / AB issue?

2012-05-11 Thread Mike Mackintosh
How is PHP running, fast-cgi, sapi, etc..? Is there anything in the error_log for apache? Could be an issue with prefork/worker. Thanks, Mike Mackintosh PHP, the drug of choice - www.highonphp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Performance / AB issue?

2012-05-11 Thread Matijn Woudt
On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg wrote: > > > Sent from my iPhone 5 Beta [Confidential use only] > > On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: > >> >>> >>> On 10 mei 2012, at 23:26, Lars Nielsen wrote: >>> > > > Sent from my iPhone 5 Beta [Confidential use o

Re: [PHP] Performance / AB issue?

2012-05-11 Thread Camilo Sperberg
Sent from my iPhone 5 Beta [Confidential use only] On 11 mei 2012, at 07:09, "Lars Nielsen" wrote: > >> >> On 10 mei 2012, at 23:26, Lars Nielsen wrote: >> >>> Sent from my iPhone 5 Beta [Confidential use only] On 10 mei 2012, at 17:40, Matijn Woudt wrote: