ads parser 999.md 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: MMDpars.zip (75,17 kB)

Description

And so I wrote a parser for myself, I had to quickly dial ads website with the donor 999.md
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 ( ´http://999.md/ru/list/musical-instruments/speakers-and-acoustics´;);??>
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: //999.md/ru/list/musical-instruments/speakers-and-acoustics´;

$ 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 для бизнеса –Инструменты переводчикаПереводчик сайтовСлужба

Feedback

0
No feedback yet.
Period
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 support@plati.com 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.)