09-02-2008, 08:16 PM
|
#37 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: England, UK
Posts: 83
Thanks: 3
|
PHP Code:
file_put_contents('error.html', '<p>error\'d</p>');
$ch = curl_init('error.html'); // explanatory line curl_setopt($ch, CURLOPT_RETURN_TRANSFER, false); curl_exec($ch);
|
|
|
|