I'm new so forgive my stupidity. I'm trying to write a scraper program in PHP and I think one way is to use fopen() to get a URL.
Every time I try to feed it a web address I get the error message:
Warning: fopen(
http://www.Whatever-I-Use.com/): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/virtual/site3/fst/var/www/html/scrape.php on line 10
It lets me get pages on my server but, anytime I try to go outside I get that error message. What's up? Anyone?