Home
Softwares
Windows
Mobile
Games
About Author
Contact us
DMCA
Tuesday, 9 July 2013
How to create your own PHP Grabber ?
06:21
By
ccxxxxxxxx
Blogger TRIXX
No comments
create your own PHP Grabber ?
How to create your own PHP Grabber ?
Just use this code and create your own PHP Grabber easily.
$site = " http://wap.com";
$scriptname = "index.php";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, ''.$site.'/'.$scriptname.'?'.$_SERVER['QUERY_STRING'].'');
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_USERAGENT, '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');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept-Language: en-us,en;q=0.7,de-de;q=0.3','Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'));
$page = curl_exec($ch);
curl_close($ch);
$page=str_replace('add any code or word you want to replace or remove','leave it blank to remove or write any thing to replace with',$page);
$page=str_replace('you can remove or replace as much as you want','this code use for removing ads site name etc',$page);
?>
0 comments :
Facebook Blogger Plugin: Bloggerized by
www.softwereshouse.blogspot.com
which is created by
Noman Jatoi
Post a Comment
Free Online Counter
Popular Posts
03-01-13 | Speed L1 Elite Proxies (193)
05-04-13 | Speed L1 Elite Proxies (221)
Speed L1 Elite Proxies (193)
SpeedyPC Pro 3.1.6.0 Full Crack Serial Key Free Download
Registry Reviver 3.0.1.152 Full Version With Crack
Photocopier Pro 4.04 Full Serial Key
Folder Lock 7 Free Download Full Version
Connectify Hotspot PRO 3.7.1.25486 License Key
Meet Our Team
Visitor Tracker
Followers
Jatoi Software
© 2014 - Re-Designed By
Noman Jatoi
|
Noman Jatoi
0 comments :
Post a Comment