php-general Digest 12 May 2012 13:22:02 -0000 Issue 7811

2012-05-12 Thread php-general-digest-help
php-general Digest 12 May 2012 13:22:02 - Issue 7811 Topics (messages 317847 through 317858): Variables via url 317847 by: Ashley M. Kirchner 317858 by: Jim Giner Re: Converting date string to unix timestamp 317848 by: Jim Lucas 317849 by: Karl DeSaulniers

[PHP] alias address in REMOTE_ADDR

2012-05-12 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

Re: [PHP] alias address in REMOTE_ADDR

2012-05-12 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 IP

Re: [PHP] alias address in REMOTE_ADDR

2012-05-12 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 call them

Re: [PHP] alias address in REMOTE_ADDR

2012-05-12 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,

[PHP] SOLVED: [PHP] alias address in REMOTE_ADDR

2012-05-12 Thread Tóth Csaba
Hi, shiplu and Jim, many thanks for the hints, I solved it; wasn't related to PHP, but I will write it down so if others search for this problem, at least they will have one solution that worked. Jim: the Apache was configured to listen on all interfaces - I had to, because I have multiple

[PHP] Re: Variables via url

2012-05-12 Thread Jim Giner
Ashley M. Kirchner ash...@pcraft.com wrote in message news:4fad9d8b.4020...@pcraft.com... 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

Re: [PHP] Re: Variables via url

2012-05-12 Thread Ashley Sheridan
On Sat, 2012-05-12 at 09:21 -0400, Jim Giner wrote: Ashley M. Kirchner ash...@pcraft.com wrote in message news:4fad9d8b.4020...@pcraft.com... Can someone point me at examples or directions on how I can pass a variable via a URL in the following way:

Re: [PHP] Re: Variables via url

2012-05-12 Thread TR Shaw
On May 12, 2012, at 9:47 AM, Ashley Sheridan wrote: On Sat, 2012-05-12 at 09:21 -0400, Jim Giner wrote: Ashley M. Kirchner ash...@pcraft.com wrote in message news:4fad9d8b.4020...@pcraft.com... Can someone point me at examples or directions on how I can pass a variable via a URL in

Re: [PHP] Variables via url

2012-05-12 Thread Ashley Sheridan
On Sun, 2012-05-13 at 01:57 +1000, Tom Rogers wrote: Hello Ashley, Saturday, May 12, 2012, 9:15:23 AM, you wrote: 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/

Re: [PHP] alias address in REMOTE_ADDR

2012-05-12 Thread Mike Mackintosh
On May 12, 2012, at 2:54, Jim Lucas li...@cmsws.com wrote: 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

Re: [PHP] Variables via url

2012-05-12 Thread Adam Richardson
On Sat, May 12, 2012 at 12:25 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: As this method requires an Apache restart, I don't see what advantage you have over using an .htaccess file? Performance: http://httpd.apache.org/docs/current/howto/htaccess.html You should avoid using

[PHP] Time out issue

2012-05-12 Thread admin
I am running Windows 2008 R2, IIS 7 I am running into an issue where no matter what I set the script time out to be the server is Giving me a 500 error after like 60 seconds when the process exceeds the configured activity timeout. Here is the example script ? set_time_limit(120);

Re: [PHP] Time out issue

2012-05-12 Thread Matijn Woudt
On Sat, May 12, 2012 at 9:42 PM, admin ad...@buskirkgraphics.com wrote: I am running Windows 2008 R2, IIS 7 I am running into an issue where no matter what I set the script  time out to be the server is Giving me a 500 error  after like 60 seconds when the process exceeds the configured

RE: [PHP] Time out issue

2012-05-12 Thread admin
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Saturday, May 12, 2012 3:54 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] Time out issue On Sat, May 12, 2012 at 9:42 PM, admin ad...@buskirkgraphics.com wrote: I am running Windows 2008 R2, IIS 7

Re: [PHP] Re: Variables via url

2012-05-12 Thread Ashley M. Kirchner
On 5/12/2012 7:21 AM, Jim Giner wrote: Of course, someone here with much more knowledge than I could very soon make me look stupid :) Meh, I don't call that looking stupid. I call it a different way of skinning the cat. :) We're all here to learn from one another, right? Thanks

Re: [PHP] Time out issue

2012-05-12 Thread Matijn Woudt
On Sat, May 12, 2012 at 10:19 PM, admin ad...@buskirkgraphics.com wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Saturday, May 12, 2012 3:54 PM To: admin Cc: php-general@lists.php.net Subject: Re: [PHP] Time out issue On Sat, May 12, 2012 at 9:42