note 80637 added to ref.curl
| From: | lancelot--du-lacathotmaildotfr at osu1 dot php dot net | Date: | Sat, 26 Jan 2008 11:26:47 +0000 |
| Subject: | note 80637 added to ref.curl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135425@lists.php.net to get a copy of this message | ||
As a windows xp user having php 5.2.5 running as an apache module on my personal computer, all I had
to do in order to get this CURL stuff working is to uncomment the following line in my php.ini file:
extension=php_curl.dll
Thought I'd just mention it as it may save time to others since it seems somehow less
compicated than the process mentioned (without sufficient explanation, mind you) in the above
article (compile php??? options??? all I ever did to install php was to unzip the archive I
downloaded and add a couple of line to my apache conf file).
I just tried downloading a web page and save its source into a text file using the example from the
manual above. When the php_curl.dll extension is not active, it doesn't work (fatal error with
init_curl, as you'd expect). When the php_curl.dll extension is active, it works. No need for
any other intricate operation as far as I can say.
Otherwise, it's great that I now have my tool for doing any http request i want.
----
Server IP: 217.174.223.124
Probable Submitter: 217.174.196.197
----
Manual Page -- http://www.php.net/manual/en/ref.curl.php
Edit -- https://master.php.net/note/edit/80637
Del: integrated -- https://master.php.net/note/delete/80637/integrated
Del: useless -- https://master.php.net/note/delete/80637/useless
Del: bad code -- https://master.php.net/note/delete/80637/bad+code
Del: spam -- https://master.php.net/note/delete/80637/spam
Del: non-english -- https://master.php.net/note/delete/80637/non-english
Del: in docs -- https://master.php.net/note/delete/80637/in+docs
Del: other reasons-- https://master.php.net/note/delete/80637
Reject -- https://master.php.net/note/reject/80637
Search -- https://master.php.net/manage/user-notes.php