I am still getting an error message Fatal error: Call to undefined function curl_init() in C:wamp\www\spun\ocas\class\botlib\LIB_http.php on line 249
I removed the ; before the extension
still I cannot get it to work. aghhhhhhhhhhhhhhhhhh
- Find "php_curl.dll"
- Remove the semicolon before it. Save the file and restart WAMP.
Hey try this.
Step1)Click in wamp incon on the taskbar .
2) u will see a row "php"Hover your mouse over it.
3) U will see "php exensions" hover you mouse over it
4) U will see lots of php extension. on the second row there is PHP_CURL .
5)Enable it.
6)Restart wamp
7)Try running script again
I hope this will help![]()
Fatal error: Cannot redeclare http_get() (previously declared in C:\wamp\www\spin\class\botlib\LIB_http.php:118) in C:\wamp\www\spin\library\webbot\LIB_http.php on line 121
$url = 'http://www.google.com/custom?num='.$numofarti.'&hl=en&client=pub-3754405753000444&cof=FORID:10%3BAH:left%3BCX:EzineArticles%2520Top%2520Search%3BL:http://www.google.com/intl/en/images/logos/custom_search_logo_sm.gif%3BLH:30%3BLP:1%3BLC:%230000ff%3BVLC:%23663399%3BDIV:%23336699%3B&cx=partner-pub-3754405753000444:3ldnyrvij91&ad=w9&adkw=AELymgWEYVAEJiFoI_QbIJiuiFtPWIsq0CUDRBk2ojriJqQ4mvGj4JogyItjPzxDik4ilHAo_bSVKuK_Jg3GXrOcTJM-pwfCmEkaILXT6jsRaAgIYsoy4uc&channel=4551525989&boostcse=0&oe=ISO-8859-1&ei=T2F3ToK6HcueiAf60fG2DQ&q='.$query.'&start=0&sa=N';
Hi,Hey cbnoob ,
I m using this version of your script:
http://www.mediafire.com/?wbs3slxrh1y6c6x
Found a little bug :
On page http://localhost/spin/googlescr.php
i get this error :
Bcos of a simple bug.PHP:Fatal error: Cannot redeclare http_get() (previously declared in C:\wamp\www\spin\class\botlib\LIB_http.php:118) in C:\wamp\www\spin\library\webbot\LIB_http.php on line 121
You called
include_once('library/webbot/LIB_http.php');
include_once('library/webbot/LIB_parse.php');
Again on line 12,13 , But u included those files in class.php already.
So . i just deleted those two lines and now all seems fine.
----------
However i have a query. can you please explain how are u using such google custom search. I m very dumb i never came accross such way to search google
How to generate this kind of code
Code:$url = 'http://www.google.com/custom?num='.$numofarti.'&hl=en&client=pub-3754405753000444&cof=FORID:10%3BAH:left%3BCX:EzineArticles%2520Top%2520Search%3BL:http://www.google.com/intl/en/images/logos/custom_search_logo_sm.gif%3BLH:30%3BLP:1%3BLC:%230000ff%3BVLC:%23663399%3BDIV:%23336699%3B&cx=partner-pub-3754405753000444:3ldnyrvij91&ad=w9&adkw=AELymgWEYVAEJiFoI_QbIJiuiFtPWIsq0CUDRBk2ojriJqQ4mvGj4JogyItjPzxDik4ilHAo_bSVKuK_Jg3GXrOcTJM-pwfCmEkaILXT6jsRaAgIYsoy4uc&channel=4551525989&boostcse=0&oe=ISO-8859-1&ei=T2F3ToK6HcueiAf60fG2DQ&q='.$query.'&start=0&sa=N';
adding other directories is quite simple. You just go to the directory you want to scrape and enter a random keyword. Most directories use the GET method so you can see the structure of a query in the url. Replace the sample keyword with the $keyword variable so you can start scraping. You will need to parse the result page to get the search results also.Hey, thanks for sharing bro!
Im really interested in learning how to add another article directory. Im fine with the php but your custom google search query is weird. Can you please do a step by step guide how to add another directory?
Im interested in doing this because im swedish and im not really interested in english directories!
Actually, I built in script from my idea when I have very little knowledge of php (even now). I wrote, I got stuck, I googled and I pick the solutions from the search results so this script is not optimal.I was trying to pick your brain by going through your script, you seems to prefer preg_slipt() a lot instead of explode() even though you don't seem to use flags associated with preg_slipt(), why is that?. Don't you think it takes too much CPU especially the use of regex in content_builder($directo)?
Also I've noticed that when I use one of your large thesaurus file (925kb), content_builder($directo) can't go through the whole list, it selects few (even after I configured my php.ini file to use more than 1Gig of memory). In fact even when I use both 41kb and 86kb thesaurus I still get the same results, why is that?
sureMay I use it on windows 7?
What programs do you guys use this with?
I got it to work on my localhost and it's giving me regular spinnable content with the {} brackets and all.
What programs do you guys use to unravel that into regular human-readable content?
The preview function in AMR, SEnuke can do this for you or use the article generator module in the scriptAhem, guys. Please reply, I'd like to use this a lot. [:
The preview function in AMR, SEnuke can do this for you or use the article generator module in the script
You can get both for free. AMR has 5 days trial, Senuke has 15 days free and the article generator is free and included in the scriptI don't have money for those weapons. ;[
You can get both for free. AMR has 5 days trial, Senuke has 15 days free and the article generator is free and included in the script