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
Post a Comment