php-general Digest 12 May 2012 13:22:02 -0000 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
317850 by: Karl DeSaulniers
317851 by: Jim Lucas
317852 by: Karl DeSaulniers
alias address in REMOTE_ADDR
317853 by: Tóth Csaba
317854 by: shiplu
317855 by: shiplu
317856 by: Jim Lucas
SOLVED: [PHP] alias address in REMOTE_ADDR
317857 by: Tóth Csaba
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
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 is, for example I don't want it
to say 'script.php' or 'script.html' ...
Is this possible through PHP only, or do I have to write a rewrite
directive in Apache to accomplish this?
--- End Message ---
--- Begin Message ---
""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 /variable/. And I want the
> /script/ to use that.
>
> I don't want to see what the script is, for example I don't want it
> to say 'script.php' or 'script.html' ...
>
> Is this possible through PHP only, or do I have to write a rewrite
> directive in Apache to accomplish this?
>
A URL has to point to a script - how will your server know what to do with
the incoming URL if it doesn't point to something? That said - format your
URL as a GET string and there's your variable.
Ex.:
http://server.domain.com/(scriptname)?variable&anothervariable&anothervariable
Or - if this url is coming from an already running script, you could post
the var to a session var and then send a url without the script name and let
your server's default document (index.php ?) receive it and look up the
session var, but that's a pretty silly way to handle things just to hide the
scriptname.
Of course, someone here with much more knowledge than I could very soon make
me look stupid :)
--- End Message ---
--- Begin Message ---
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 date picker on it.
The date furnished comes to me like this "Saturday, January 1, 2012",
and a time furnished like "4:20 pm" with no seconds.
Now for the ics file, I need the date/time combo to be..
Ymd\THis\Z or in the case of the above date and time, 20120101T042000Z
Here is the block of code that I am using for this.
Why do you have so much code to do such a simple thing?
This works for me.
<?php
$date = "Saturday, January 1, 2012";
$time = "4:20 pm";
echo date('Ymd\THis\Z', strtotime($date.' '.$time));
// Outputs 20120107T162000Z
?>
Check it out in action:
http://www.cmsws.com/examples/php/jquery_time_stamp.php
http://www.cmsws.com/examples/php/jquery_time_stamp.phps
Jim
CODE [
...
}
else {
$dt_start = $_POST["field20"] ? $_POST["field20"] : $_POST["field21"];
//Saturday, January 1, 2012
$dt_end = $_POST["field22"]; //Saturday, January 1, 2012
$t_start = $_POST["field24"]; //4:20 pm
$t_end = $_POST["field25"]; //5:55 pm
//date_default_timezone_set('UTC');
try {
$start_DT = new DateTime($dt_start . " " . $t_start);
$st_date_fmt = new DateTime($start_DT->format("l, F d, Y\TH:ia T"));
//$startdate_stamp = strtotime($st_date_fmt);
$startdate = $st_date_fmt->format('U');
//$startdate = date('Ymd\THis\Z', $startdate_stamp);
}
catch (Exception $e) {
trigger_error("startdate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
try {
if(empty($dt_end)) {
$enddate = $startdate + (60 * 60); //If no end date provided, enddate is
1 hour after startdate.
} else {
$end_DT = new DateTime($dt_end . " " . $t_end);
$end_date_fmt = new DateTime($end_DT->format("l, F d, Y\TH:ia T"));
//$enddate_stamp = strtotime($end_date_fmt);
$enddate = $end_date_fmt->format('U');
//$enddate = date('Ymd\THis\Z', $enddate_stamp);
}
}
catch (Exception $e) {
trigger_error("enddate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
$stampnow = date('Ymd\THis\Z', time());
//$datestampnow = strtotime($stampnow);
}
...
]
I have a feeling I am mixing something up on my own, but I have been
staring at this code to long to see it.
Can anyone help me please? Like I said, this is probably an easy one.
TIA!!
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--- End Message ---
--- Begin Message ---
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, 2012, at 7:42 PM, Jim Lucas wrote:
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 date picker on it.
The date furnished comes to me like this "Saturday, January 1, 2012",
and a time furnished like "4:20 pm" with no seconds.
Now for the ics file, I need the date/time combo to be..
Ymd\THis\Z or in the case of the above date and time,
20120101T042000Z
Here is the block of code that I am using for this.
Why do you have so much code to do such a simple thing?
This works for me.
<?php
$date = "Saturday, January 1, 2012";
$time = "4:20 pm";
echo date('Ymd\THis\Z', strtotime($date.' '.$time));
// Outputs 20120107T162000Z
?>
Check it out in action:
http://www.cmsws.com/examples/php/jquery_time_stamp.php
http://www.cmsws.com/examples/php/jquery_time_stamp.phps
Jim
CODE [
...
}
else {
$dt_start = $_POST["field20"] ? $_POST["field20"] :
$_POST["field21"];
//Saturday, January 1, 2012
$dt_end = $_POST["field22"]; //Saturday, January 1, 2012
$t_start = $_POST["field24"]; //4:20 pm
$t_end = $_POST["field25"]; //5:55 pm
//date_default_timezone_set('UTC');
try {
$start_DT = new DateTime($dt_start . " " . $t_start);
$st_date_fmt = new DateTime($start_DT->format("l, F d, Y\TH:ia T"));
//$startdate_stamp = strtotime($st_date_fmt);
$startdate = $st_date_fmt->format('U');
//$startdate = date('Ymd\THis\Z', $startdate_stamp);
}
catch (Exception $e) {
trigger_error("startdate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
try {
if(empty($dt_end)) {
$enddate = $startdate + (60 * 60); //If no end date provided,
enddate is
1 hour after startdate.
} else {
$end_DT = new DateTime($dt_end . " " . $t_end);
$end_date_fmt = new DateTime($end_DT->format("l, F d, Y\TH:ia T"));
//$enddate_stamp = strtotime($end_date_fmt);
$enddate = $end_date_fmt->format('U');
//$enddate = date('Ymd\THis\Z', $enddate_stamp);
}
}
catch (Exception $e) {
trigger_error("enddate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
$stampnow = date('Ymd\THis\Z', time());
//$datestampnow = strtotime($stampnow);
}
...
]
I have a feeling I am mixing something up on my own, but I have been
staring at this code to long to see it.
Can anyone help me please? Like I said, this is probably an easy one.
TIA!!
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--- End Message ---
--- Begin Message ---
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 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 like this "Saturday, January 1, 2012",
and a time furnished like "4:20 pm" with no seconds.
Now for the ics file, I need the date/time combo to be..
Ymd\THis\Z or in the case of the above date and time,
20120101T042000Z
Here is the block of code that I am using for this.
Why do you have so much code to do such a simple thing?
This works for me.
<?php
$date = "Saturday, January 1, 2012";
$time = "4:20 pm";
echo date('Ymd\THis\Z', strtotime($date.' '.$time));
// Outputs 20120107T162000Z
?>
Check it out in action:
http://www.cmsws.com/examples/php/jquery_time_stamp.php
http://www.cmsws.com/examples/php/jquery_time_stamp.phps
Jim
CODE [
...
}
else {
$dt_start = $_POST["field20"] ? $_POST["field20"] :
$_POST["field21"];
//Saturday, January 1, 2012
$dt_end = $_POST["field22"]; //Saturday, January 1, 2012
$t_start = $_POST["field24"]; //4:20 pm
$t_end = $_POST["field25"]; //5:55 pm
//date_default_timezone_set('UTC');
try {
$start_DT = new DateTime($dt_start . " " . $t_start);
$st_date_fmt = new DateTime($start_DT->format("l, F d, Y\TH:ia T"));
//$startdate_stamp = strtotime($st_date_fmt);
$startdate = $st_date_fmt->format('U');
//$startdate = date('Ymd\THis\Z', $startdate_stamp);
}
catch (Exception $e) {
trigger_error("startdate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
try {
if(empty($dt_end)) {
$enddate = $startdate + (60 * 60); //If no end date provided,
enddate is
1 hour after startdate.
} else {
$end_DT = new DateTime($dt_end . " " . $t_end);
$end_date_fmt = new DateTime($end_DT->format("l, F d, Y\TH:ia T"));
//$enddate_stamp = strtotime($end_date_fmt);
$enddate = $end_date_fmt->format('U');
//$enddate = date('Ymd\THis\Z', $enddate_stamp);
}
}
catch (Exception $e) {
trigger_error("enddate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
$stampnow = date('Ymd\THis\Z', time());
//$datestampnow = strtotime($stampnow);
}
...
]
I have a feeling I am mixing something up on my own, but I have been
staring at this code to long to see it.
Can anyone help me please? Like I said, this is probably an easy one.
TIA!!
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--- End Message ---
--- Begin Message ---
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 their is a logical reason...
Ah!
The first Saturday in the month of January this year WAS the 7th. The
1st was on a Sunday. I would say that your date picker has issues.
Should be
20120101T162000Z
not
20120107T162000Z
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 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 like this "Saturday, January 1, 2012",
and a time furnished like "4:20 pm" with no seconds.
Now for the ics file, I need the date/time combo to be..
Ymd\THis\Z or in the case of the above date and time, 20120101T042000Z
Here is the block of code that I am using for this.
Why do you have so much code to do such a simple thing?
This works for me.
<?php
$date = "Saturday, January 1, 2012";
$time = "4:20 pm";
echo date('Ymd\THis\Z', strtotime($date.' '.$time));
// Outputs 20120107T162000Z
?>
Check it out in action:
http://www.cmsws.com/examples/php/jquery_time_stamp.php
http://www.cmsws.com/examples/php/jquery_time_stamp.phps
Jim
CODE [
...
}
else {
$dt_start = $_POST["field20"] ? $_POST["field20"] : $_POST["field21"];
//Saturday, January 1, 2012
$dt_end = $_POST["field22"]; //Saturday, January 1, 2012
$t_start = $_POST["field24"]; //4:20 pm
$t_end = $_POST["field25"]; //5:55 pm
//date_default_timezone_set('UTC');
try {
$start_DT = new DateTime($dt_start . " " . $t_start);
$st_date_fmt = new DateTime($start_DT->format("l, F d, Y\TH:ia T"));
//$startdate_stamp = strtotime($st_date_fmt);
$startdate = $st_date_fmt->format('U');
//$startdate = date('Ymd\THis\Z', $startdate_stamp);
}
catch (Exception $e) {
trigger_error("startdate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
try {
if(empty($dt_end)) {
$enddate = $startdate + (60 * 60); //If no end date provided, enddate is
1 hour after startdate.
} else {
$end_DT = new DateTime($dt_end . " " . $t_end);
$end_date_fmt = new DateTime($end_DT->format("l, F d, Y\TH:ia T"));
//$enddate_stamp = strtotime($end_date_fmt);
$enddate = $end_date_fmt->format('U');
//$enddate = date('Ymd\THis\Z', $enddate_stamp);
}
}
catch (Exception $e) {
trigger_error("enddate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
$stampnow = date('Ymd\THis\Z', time());
//$datestampnow = strtotime($stampnow);
}
...
]
I have a feeling I am mixing something up on my own, but I have been
staring at this code to long to see it.
Can anyone help me please? Like I said, this is probably an easy one.
TIA!!
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
--- End Message ---
--- Begin Message ---
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 post.
Anyone else having trouble with the list like that?
Best,
Karl
On May 11, 2012, at 8:06 PM, Jim Lucas wrote:
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 their is a logical reason...
Ah!
The first Saturday in the month of January this year WAS the 7th.
The 1st was on a Sunday. I would say that your date picker has
issues.
Should be
20120101T162000Z
not
20120107T162000Z
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 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 like this "Saturday, January 1,
2012",
and a time furnished like "4:20 pm" with no seconds.
Now for the ics file, I need the date/time combo to be..
Ymd\THis\Z or in the case of the above date and time,
20120101T042000Z
Here is the block of code that I am using for this.
Why do you have so much code to do such a simple thing?
This works for me.
<?php
$date = "Saturday, January 1, 2012";
$time = "4:20 pm";
echo date('Ymd\THis\Z', strtotime($date.' '.$time));
// Outputs 20120107T162000Z
?>
Check it out in action:
http://www.cmsws.com/examples/php/jquery_time_stamp.php
http://www.cmsws.com/examples/php/jquery_time_stamp.phps
Jim
CODE [
...
}
else {
$dt_start = $_POST["field20"] ? $_POST["field20"] :
$_POST["field21"];
//Saturday, January 1, 2012
$dt_end = $_POST["field22"]; //Saturday, January 1, 2012
$t_start = $_POST["field24"]; //4:20 pm
$t_end = $_POST["field25"]; //5:55 pm
//date_default_timezone_set('UTC');
try {
$start_DT = new DateTime($dt_start . " " . $t_start);
$st_date_fmt = new DateTime($start_DT->format("l, F d, Y\TH:ia
T"));
//$startdate_stamp = strtotime($st_date_fmt);
$startdate = $st_date_fmt->format('U');
//$startdate = date('Ymd\THis\Z', $startdate_stamp);
}
catch (Exception $e) {
trigger_error("startdate error: " . $e->getMessage(),
E_USER_ERROR);
exit(1);
}
try {
if(empty($dt_end)) {
$enddate = $startdate + (60 * 60); //If no end date provided,
enddate is
1 hour after startdate.
} else {
$end_DT = new DateTime($dt_end . " " . $t_end);
$end_date_fmt = new DateTime($end_DT->format("l, F d, Y\TH:ia T"));
//$enddate_stamp = strtotime($end_date_fmt);
$enddate = $end_date_fmt->format('U');
//$enddate = date('Ymd\THis\Z', $enddate_stamp);
}
}
catch (Exception $e) {
trigger_error("enddate error: " . $e->getMessage(), E_USER_ERROR);
exit(1);
}
$stampnow = date('Ymd\THis\Z', time());
//$datestampnow = strtotime($stampnow);
}
...
]
I have a feeling I am mixing something up on my own, but I have
been
staring at this code to long to see it.
Can anyone help me please? Like I said, this is probably an easy
one.
TIA!!
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--- End Message ---
--- Begin Message ---
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 a wget --spider from 1 to 2, I get the eth0 (not alias) address in
Apache's accesslog on Server2. But when I do a
file_get_contents(http://server2.tld),
and observe the $_SERVER['REMOTE_ADDR'] on Server2, I get one of the alias IP
addresses
back. What can cause this? I really need the eth0 IP address back in
REMOTE_ADDR.
Regards,
Csaba
--- End Message ---
--- Begin Message ---
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 addresses, configured as aliases. My
> problem:
> When I do a wget --spider from 1 to 2, I get the eth0 (not alias) address
> in
> Apache's accesslog on Server2. But when I do a file_get_contents(
> http://server2.tld),
> and observe the $_SERVER['REMOTE_ADDR'] on Server2, I get one of the alias
> IP addresses
> back. What can cause this? I really need the eth0 IP address back in
> REMOTE_ADDR.
>
>
On server2 make sure the metric of both interface in the routing table is
not same. Same metric can cause this behavior. Change the metric of eth0 to
a lower value than the other. Then try again.
> Regards,
> Csaba
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader
--- End Message ---
--- Begin Message ---
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
>> Server1
>> and Server2. Server1 has multiple IP addresses, configured as aliases. My
>> problem:
>> When I do a wget --spider from 1 to 2, I get the eth0 (not alias) address
>> in
>> Apache's accesslog on Server2. But when I do a file_get_contents(
>> http://server2.tld),
>> and observe the $_SERVER['REMOTE_ADDR'] on Server2, I get one of the
>> alias IP addresses
>> back. What can cause this? I really need the eth0 IP address back in
>> REMOTE_ADDR.
>>
>>
>
> On server2 make sure the metric of both interface in the routing table is
> not same. Same metric can cause this behavior. Change the metric of eth0 to
> a lower value than the other. Then try again.
>
>
Correction. "On server2" should be "On server1".
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader
--- End Message ---
--- Begin Message ---
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, configured as aliases. My
problem:
When I do a wget --spider from 1 to 2, I get the eth0 (not alias) address in
Apache's accesslog on Server2. But when I do a
file_get_contents(http://server2.tld),
and observe the $_SERVER['REMOTE_ADDR'] on Server2, I get one of the alias IP
addresses
back. What can cause this? I really need the eth0 IP address back in
REMOTE_ADDR.
Regards,
Csaba
What IP address is your Apache bound to? You eth0 or one of the alias IPs?
Jim
--- End Message ---
--- Begin Message ---
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 SSL-enabled hosts with different keys
shiplu: it was the metric! Only problem, because these are alias interfaces, a
simple ifmetric doesn't cut it:
#~ ifmetric eth0:1 20
SIOCSIFMETRIC: operation not supported
So I had to disable the alias interfaces with ifconfig down, the re-enable
them; after that, add the gateways like this:
#~ route add default gw <GATEWAYIP> metric 10
so now my routing table has a metric 0 gateway for eth0, and a metric 10 for
both aliases.
Many thanks again, and have a nice weekend!
Regards,
Csaba
On Fri, 11 May 2012 23:54:56 -0700, Jim Lucas 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:
...
>> Regards,
>> Csaba
>>
>
> What IP address is your Apache bound to? You eth0 or one of the alias IPs?
>
> Jim
--- End Message ---