How to get the proxy ip address

curl has been added to the proxy ip,. How can I get the proxy ip address for each curl request now?

Php
Mar.28,2021

you used the proxy ip when you sent the curl request yourself, and now you want to ask how to get the proxy ip you use?
is it because your question is not clear, or is it because I misunderstood it? no, no, no.


ask the question under the reorganization, the feeling is not clear.


client -> proxy -> server
  • server you should be able to get the IP, of proxy.
  • server to get the IP, of client check whether x-forwarded-for header, is added when the proxy is passed to server. If you have it, you can get it. If you don't, you can't.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a018-2b957.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a018-2b957.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?