I have three scripts of that but, it always say error file not found, but keywap.net is working pls help.
please give me 4SHARED grabber
Collapse
X
-
Originally posted by anthrax68 View PostI have three scripts of that but, it always say error file not found, but keywap.net is working pls help.
then put this function in file & include it in your scripts...
just like dis
PHP Code:require_once "function.php"; //put the below code inside
PHP Code:
function fetch_url($url)
{
$ua[0] = "Nokia2610/2.0 (07.04a) Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Link/6.3.1.20.0";
$ua[1] = "Nokia5300/2.0 (05.51) Profile/MIDP-2.0 Configuration/CLDC-1.1";
$ua[2] = "Nokia6030/2.0 (y3.44) Profile/MIDP-2.0 Configuration/CLDC-1.1";
$ua[3] = "NokiaN70-1/5.0616.2.0.3 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1";
$ua[4] = "NokiaN75-3/3.0 (1.0635.0.0.6); SymbianOS/9.1 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1) UP.Link/6.3.0.0";
$ua[5] = "SonyEricssonK510i/R4CJ Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1";
$ua[6] = "SAMSUNG-SGH-A867/A867UCHG5 SHP/VPP/R5 NetFront/3.4 SMM-MMS/1.2.0 profile/MIDP-2.0 configuration/CLDC-1.1 UP.Link/6.3.0.0.0";
$ua[7] = "NokiaN90-1/5.0607.7.3 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1";
$ua[8] = 'Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16';
$rand = mt_rand(0, 8);
$curl_handle = curl_init();
curl_setopt($curl_handle,CURLOPT_URL,$url);
curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,5);
curl_setopt($curl_handle,CURLOPT_USERAGENT, $ua[$rand]);
curl_setopt($curl_handle,CURLOPT_HEADER, FALSE);
curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER, TRUE);
$fetch = curl_exec($curl_handle);
curl_close($curl_handle);
return $fetch;
}
I need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment