I’m trying to read a website with PHP. I’ve been doing some experiments with fopen(“http://www.google.com“, r) but I get the 403 error “forbidden”. I would like to know if there’s a way to read any public website on the Internet…
@NogDogMay 20.2008 — #The [url=http://www.php.net/cURL]cURL functions[/url] are usually pretty dependable and will give you more flexibility than file_get_contents(), at the expense of requiring a bit more coding on your part.