RE: Access Violation
| From: | Marshall Burns | Date: | Fri, 16 Oct 2009 20:52:23 +0000 |
| Subject: | RE: Access Violation | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969381027@lists.php.net to get a copy of this message | ||
I have run a test that shows my paranoid fears of the government shutting
down access were unfounded. But I am just as lost as before about the cause
of the problem. I have reduced the script to the following:
==============================
<html>
<head>
<title>Test crawler</title>
</head>
<body>
<?php
$sURL = 'http://www.Google.com';
echo('Getting ' . $sURL . '<p>');
$sFileCont = file_get_contents($sURL);
echo('<p>' . $sFileCont);
?>
</body>
</html>
==============================
And the result is:
==============================
Getting http://www.Google.com
PHP has encountered an Access Violation at 0A0591E4
==============================
The "file_get_contents()" function was working just fine throughout
development of the script. Now it yields an access violation. Can anyone
direct me to documentation that explains what is going on?
Thanks for your help.
Marshall Burns, PhD
www.MBurns.com <http://www.mburns.com/>