[FX.php List] [OFF] Getting visitor's IP

Kevin Futter kfutter at sbc.melb.catholic.edu.au
Thu Aug 21 19:52:45 MDT 2008


On 22/08/08 11:46 AM, "Bob Patin" <bob at patin.com> wrote:

> Kevin,
> 
> Thanks, that's the command Jonathan Schwartz sent me; I don't need to
> list them both in my code then, do I, since I'm using OS X Server?
> 
> Can't I just use the one that works and forget about REMOTE_ADDR?
> 

You *can*, but normalising them makes your code portable to other systems,
and future-proofs it against changes in OS X Server (what if suddenly they
revert to using REMOTE_ADDR?).


-- 
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.


More information about the FX.php_List mailing list