NO OLVIDES RECOMENDAR NUESTRO SITIO
|
![]() |
![]() |
|
function webvisitas_file_get_contents_an($url) { $url = parse_url ($url); if ($handle = @fsockopen ($url["host"], 80)) { fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n"); while (!feof($handle)) { $string .= @fread($handle, 40960); } $string = explode (" ", $string); $string = array_pop ($string); } fclose($handle); return $string; } $url="http://www.webvisitas.com/intercambiolinksphp/getlink.php?idusuariophp=374&tipo=vertical&bgcolorlink=000000&bgcolortext=000000&colorlink=00FF00&colortext=FFFFFF"; echo webvisitas_file_get_contents_an($url); ?>