PHP 4.0 Bug #8318: Feature request for cURL
| From: | paul at rydell dot com | Date: | Tue, 19 Dec 2000 09:30:54 +0000 |
| Subject: | PHP 4.0 Bug #8318: Feature request for cURL | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41831@lists.php.net to get a copy of this message | ||
From: paul@rydell.com
Operating system: All
PHP version: 4.0.3pl1
PHP Bug Type: Feature/Change Request
Bug description: Feature request for cURL
I would like to use cURL to read the HTML (or whatever I am fetching) directly into a variable
instead of only into a file or STDOUT.
Something like:
$ch = curl_init("http://www.somepage.com/");
curl_setopt($ch,CURLOPT_VARIABLE,$myoutput);
curl_exec($ch);
print $myoutput;
--
Edit Bug report at: http://bugs.php.net/?id=8318&edit=1