ads parser for board script-ks.4

Affiliates: 0,02 $ — how to earn
Pay with:
i agree with "Terms for Customers"
Sold: 0
Refunds: 0

Uploaded: 29.10.2016
Content: (75,17 kB)


And so I wrote a parser for myself, I had to quickly dial ads website with the donor
The parser is very simple and requires no special bells and whistles of the required work php hosting
file_get_contents, or work CURL enabled CURLOPT_FOLLOWLOCATION, 1
  Pars 1 picture parses the description of the ad, the price, and all that is necessary. Phone takes too Before buying email parser give a link to my site

Additional information

Attention!!! With the transition to SSL https file_get_contents does not work, only to Kurla. So be careful. Alternatively, check if you have a script running

<Php echo $ url = file_get_contents ( ´´;);??>
If an error failed to open stream: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
So it will not work, then just Kurla. CURL, you can check

<? Php
 $ Url = ´http: //´;

$ Curl = curl_init (); // Initialize the cURL
curl_setopt ($ curl, CURLOPT_URL, $ url);
curl_setopt ($ curl, CURLOPT_USERAGENT, "Opera / 10.00 (Windows NT 5.1; U; ru) Presto / 2.2.0");
curl_setopt ($ curl, CURLOPT_REFERER, $ url);
curl_setopt ($ curl, CURLOPT_POST, 1);
curl_setopt ($ curl, CURLOPT_POSTFIELDS, $ url);
curl_setopt ($ curl, CURLOPT_HEADER, 0);
curl_setopt ($ curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt ($ curl, CURLOPT_RETURNTRANSFER, 1);
echo $ html = curl_exec ($ curl);
curl_close ($ curl);

If you see a website with ads while you work Kurla.
If Viedma error type Warning: curl_setopt () [function.curl-setopt]: CURLOPT_FOLLOWLOCATION can not be activated when safe_mode is enabled or an open_basedir is set i

Then the script will not work for you.
Переводчик Google для бизнеса –Инструменты переводчикаПереводчик сайтовСлужба


No feedback yet.
1 month 3 months 12 months
0 0 0
0 0 0
In order to counter copyright infringement and property rights, we ask you to immediately inform us at the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)