file_get_contents is a simple one liner works for most sites I need to scrape (open and public data so no type of firewalls). However there are some sites I get
"Failed to open stream: Connection timed out"
So I test the same simple script on my non cPanel/WHM server with no problems. Both are running the same php versions, with same configs, I tested with several versions trying to pinpoint the problem
What would cause this?
Exact same thing happens with curl
thanks
"Failed to open stream: Connection timed out"
So I test the same simple script on my non cPanel/WHM server with no problems. Both are running the same php versions, with same configs, I tested with several versions trying to pinpoint the problem
What would cause this?
Exact same thing happens with curl
thanks
Last edited by a moderator: