apache - Need help sending custom info to php global vars -


is possible send custom information $_server[remote_addr]; or $_server[http_x_forwarded_for]; ? want make these vars output custom text. thought editing headers sent browser or sending php script/curl program. don't know how. please tell me if possible , how.

you can't change $_server['remote_addr'] that's ip address of tcp connection. way change connect different real ip address.

you can send whatever x-forwarded-for header want in http request. header used hint connecting ip proxying request other client. it's not relied upon important.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -