HomeDevCentral

get_remote_addr() to replace $_SERVER['REMOTE_ADDR']
952e48478361Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

get_remote_addr() to replace $_SERVER['REMOTE_ADDR']

We provide a standard global function as a drop-in replacement for
$_SERVER['REMOTE_ADDR']. This takes in consideration de facto
standard header HTTP_X_FORWARDED_FOR, and other legacy proxies ones.

Details

Provenance
derecksonAuthored on
Parents
rKGF81661dd753c9: New global functions: dprint_r() and dieprint_r()
Branches
Unknown
Tags
Unknown