I am trying to get two IP addresses into the headers so I can read them via PHP the proxy/middleman IP and the real remote client IP. Is there a way to get both? I want the real ip in "REMOTE_ADDR" and then the proxy IP in a custom header but it seems if i overwrite REMOTE_ADDR with the real client IP I then cant see what the proxy IP is?
I tried the following in order but it doesnt work. They end up both being the same IP. Any ideas?
add_header X-Proxy-Ip $remote_addr;
set_real_ip_from 123.10.20.0/17;
real_ip_header CF-Connecting-IP;
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post
How can i loop through this XML stucture
With PHP I am using the following class structure for exceptions:
I have started working with Azure and testing connectivity to an Microsoft SQL DatabaseI would like to utilize our current php_odbc