fsockopen() and ips...

nvanprooyen

Fortes Fortuna Adiuvat
Dec 8, 2008
3,189
82
0
Orlando, FL
I have a scraper that I've been working on for awhile that has a few functions that use fsockopen to connect to a few things to grab data. The classes for these came from somewhere else, I didn't write them. Most of the app uses cURL. I'm randomizing my IP addresses (thanks Karl for the help) so I can scrape a little quicker without raising flags. This works perfect for all the functions that use cURL, but I can't figure out how to get the functions using fsockopen to rotate IPs. Anyone know if this is possible or have any better ideas?
 


That looks like it might work. Going to have to play with it and see. Without discussing the details of what I'm scraping, I don't know of a way I can get what I'm after using a http request. Will PM.