It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Member
Join Date: Feb 2007
Posts: 44
|
I have a script. It's using file_get_contents.
I heard that curl is more efficient from file_get_contents what is the equivalent code for curl? $data = file_get_contents("http://www.xxx.com"); I want this with curl . How can i do it ? |
|
|
|
|
|
|
|
#2 (permalink) | ||||
|
Junior Member
Join Date: Apr 2008
Posts: 12
|
You need initialize a new curl resource by:
Quote:
Quote:
Quote:
Quote:
PHP: CURL - Manual Good luck |
||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|