Paras Shah
Paras Shah

Reputation: 115

Can I use Client (Browser) IP as Proxy for cURL?

I've a very basic tool (for educational purposes) where someone can input string, the tool uses cURL (data sent using AJAX) to bring response data from 3rd party API.

So, my question is, is there any way I can use the user's IP (I'm already getting the user IP using https://api.ipify.org for other personalization purpose in the tool) as a Proxy IP in cURL.

If yes, which port do I have to use (port 80)?

Edit: Here's what I exactly want to do:

(I'm already sending the Client's IP to my PHP page (using AJAX) for some other part of server code)

Upvotes: 0

Views: 745

Answers (1)

M A SIDDIQUI
M A SIDDIQUI

Reputation: 2205

No It's that simple answer.. A major security threat. Would you like if some one uses your IP to DDOS CIA.

Upvotes: 3

Related Questions