I'v installed a server on my computer to develop my site.
When I try to read online files (google.com, for example) with, for example, file_get_contents I get this msg (from windows):
Code: Select all
php.exe has genereted errors and will be closed by Windows. You will need to restart the program.Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, oran@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.The exact code that I tried to run is:
Code: Select all
$contents = file_get_contents("http://www.google.com/search?q=dog");tnx,
Oran.
[/quote]