please give me 4SHARED grabber

Started on the old forum in February 2012 · view the original in the archive · old links redirect here

2 replies · 656 views · started 14 years ago · 1 min read

2 participants
softwarefreak Senior · 349 posts #2

anthrax68 wrote: I have three scripts of that but, it always say error file not found, but keywap.net is working pls help.

Open any of the script & replace file_get_contents with fetch_url

then put this function in file & include it in your scripts... just like dis

require_once "function.php"; //put the below code inside
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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close