preCharge Forums - View Single Post - Using Curl except file_get_contents
View Single Post
Old 02-25-2007   #1 (permalink)
qing
Member
 
Join Date: Feb 2007
Posts: 44
Default Using Curl except file_get_contents

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 ?
qing is offline   Reply With Quote

 
Buy Shares | Mortgage Calculator | Mobile Phone | Cheap Fragrances | Books