seokochin Posted November 16, 2008 Share Posted November 16, 2008 I am designing a program using curl.Its function is to post a data to a site using curl.But I want to use different IPs(not my server IP). And the IP will be different in each use. So please help. Quote Link to comment https://forums.phpfreaks.com/topic/132914-solved-curl-help-curl-with-other-ip/ Share on other sites More sharing options...
corbin Posted November 16, 2008 Share Posted November 16, 2008 lol this doesn't sound legit to me. Proxies. Quote Link to comment https://forums.phpfreaks.com/topic/132914-solved-curl-help-curl-with-other-ip/#findComment-691154 Share on other sites More sharing options...
seokochin Posted November 16, 2008 Author Share Posted November 16, 2008 I was to use different IPs for each post. Is it possible ? I think it can be done with CURLOPT_PROXYUSERPWD Quote Link to comment https://forums.phpfreaks.com/topic/132914-solved-curl-help-curl-with-other-ip/#findComment-691233 Share on other sites More sharing options...
PFMaBiSmAd Posted November 16, 2008 Share Posted November 16, 2008 The IP address that the end server sees comes from the TCP/IP data packet. The only way for it to see a different IP address for each request and to which it will send the reply is if you actually send each request through the IP address you want the request to come from. If the end site did not mind scripts sending requests to it, it would permit the single static IP address of your server to do so. Quote Link to comment https://forums.phpfreaks.com/topic/132914-solved-curl-help-curl-with-other-ip/#findComment-691298 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.