[FX.php List] [OFF] Getting visitor's IP
Head Honcho
headhoncho at customikesolutions.com
Sun Aug 24 18:07:30 MDT 2008
Hi All,
It appears that leopard server is now working to standards as
$_SERVER["REMOTE_ADDR"]; returns the expected value.
I've did all my testing for a new site on a tiger server, using
$_SERVER["HTTP_PC_REMOTE_ADDR"]; and it broke when I migrated it to my
client's new Leopard server.
The conditional mentioned by Kevin and Leo would have got around this
if I'd seen it before I struck the problem!
Regards
Michael Ward
--
Head Honcho
CustoMike Solutions
Member, FileMaker Business Alliance
Member, FileMaker Technical Network
FileMaker 7 Certified Developer
FileMaker 8 Certified Developer
FileMaker 9 Certified Developer
10 Wandoo Crt
Wheelers Hill, 3150
ph 0414 562 501
headhoncho at customikesolutions.com
On 25/08/2008, at 8:22 AM, Kevin Futter wrote:
> On 23/08/08 2:01 AM, "Jonathan Schwartz" <jschwartz at exit445.com>
> wrote:
>
>> Kevin,
>>
>> Are you sure that it is OS X Server making the change? I admit that
>> I never spent the time trying to nail down the source, but I assumed
>> that it was the PHP version or web server. I have always used OS X
>> Server 10.4, yet have had to fiddle with the setting just the same.
>>
>> Jonathan
>
> Yep, definitely an OS X Server thing. The Mac is the only
> environment where
> you will strike this issue.
>
> --
> Kevin Futter
> Webmaster, St. Bernard's College
> http://www.sbc.melb.catholic.edu.au/
>
>
> #####################################################################################
> This e-mail message has been scanned for Viruses and Content and
> cleared
> by MailMarshal
> #####################################################################################
>
> This e-mail and any attachments may be confidential. You must not
> disclose or use the information in this e-mail if you are not the
> intended recipient. If you have received this e-mail in error,
> please notify us immediately and delete the e-mail and all copies.
> The College does not guarantee that this e-mail is virus or error
> free. The attached files are provided and may only be used on the
> basis that the user assumes all responsibility for any loss, damage
> or consequence resulting directly or indirectly from the use of the
> attached files, whether caused by the negligence of the sender or
> not. The content and opinions in this e-mail are not necessarily
> those of the College.
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list