Mega Code Archive

 
Categories / Php / File Directory
 

Open a connection with the PHP site (http

<?     $site = "http://www.php.net";      // some server that can communicate via HTTP     $sh = fopen($site, "r");           // assigns PHP.net index page to a filehandle. ?>