Dzięki wielkie zrobiłem prawie wszystko oprócz dwóch rzeczy.
- Przez get jest wysyłana tablica nie wiem jak ją odebrać , wysłać umiem.
2)Wyskakuje tylko w jednym przypadku taki error :
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></head><body style="margin:0px;height:100%"><iframe src="/_Incapsula_Resource?CWUDNSAI=17&xinfo=6-37102200-0 0NNN RT(1437833281385 105) q(-1 -1 -1 -1) r(0 -1) b1&incident_id=0-266033113306562966&edet=3&cinfo=ffffffff" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 0-266033113306562966</iframe></body></html>
I w sumie nie wiem dlaczego coś takiego może tak się dziać zapytanie które mam wysła orginalnie serwer wygląda tak :
researchtools/ose/api/opportunities/unlinkedmentions?site=dupa.pl&query=dupa+OR+dupa.pl+-rd%3Adupa.pl&page=1&sort=mention_authority&level=pro&last_update=1433851200
Ja to wysyłam tak :
<?php
include '../../../../../function_ose_api_2.php';
$site = $_GET['site'];
$sort = $_GET['sort'];
$page = $_GET['page'];
$level = $_GET['level'];
$last_update = $_GET['last_update'];
$query = $_GET['query'];
$result2 = get_web_page("https://nazwastrony.com/researchtools/ose/api/opportunities/unlinkedmentions?site=".$site."&query=".$query."&page=".$page."&sort=".$sort."&level=".$level."&last_update=".$last_update);
echo $result2['content'];
?>
Ktoś wie czego to może być wina lub nakierować mnie na coś?
Od razu mówie jak komuś się może wydawać to nie jest żaden bot do strony :)