download a web page to a file

download a web page to a file using cURL

<?php

$site = curl_init ("http://www.google.com/");
$fp = fopen ("google.txt", "w");

curl_setopt ($site, CURLOPT_FILE, $fp);
curl_setopt ($site, CURLOPT_HEADER, 0);

curl_exec ($site);
curl_close ($site);
fclose ($fp);
?>



Books :

Sponsors :

Random Code :

time example(date/time)
winoscentral.com news(xml)
mirror a web page(internet)

Random Article :

PHP Encryption

Network:

Programming resources
Tutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles