Код парсера:
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
- <form action="index.php" method="get">
- <input type="text" name="words">
- <input type="submit" value="GET">
- </form>
- <?
- $fuid01 = '556c07567049c1da.2aQVmQLHb54PC2eBBWMpJFL-hWaKrrZ5hJQZb0GlRMMT26W7859lx-Rd4BwStlNfPXJCts00Ht7nh7CbET661_B-Hg_WN2c76W9COIFnugtmKA9jJICucSrcL5HH4Zzz';
- /* Запрос к wordstat Яндекс */
- $uri = 'https://wordstat.yandex.ru/#!/?words='.$_GET['words'];
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)");
- }
- ?>
- </body>
- </html>