|
Posted by Henk Oegema on 04/19/07 11:27
<posted & mailed>
Henk Oegema wrote:
> Or is there any mistake in my script ?
>
> Gr. Henk
During my struggle with this problem, I tested following script:
(http://be.php.net/curl)
<?php
$ch = curl_init("http://www.example.com/");
$fp = fopen("example_homepage.txt", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
?>
Here I get the same problem that the script also stops at:
$ch = curl_init("http://www.example.com/");
(just as in my previous script)
There is no error message.
Could it be that a package is missing??
Henk
[Back to original message]
|