I\'m building a site that is designed to be administered from localhost, but contains pages that expose data to internet or local network users. Can I rely on PHP\'s
No. It depends on the web server whether is serves up remote_addr or not.
RETRACT THAT...was thinking about HTTP_REFERER.
It should give you the ip address...yes. Remember there could be proxy's.