G
if $url contains exactly what is expected and there is a genuine full reference, the first obvious option -Hoster's outgoing connections are closed. I've met even more severe - only 80 ports are allowed, no matter what coming or entering. If, in case of an accident, the end-of-life connection hangs on 80 ports, it goes through. The second option is to check, through curls, from consoles, actually. Is there a $url request?♪ Don't forget to download the curl to the favorite operating system ♪curl -v http://чего_надо_
The consequence of this option is that a certain heading is required from the server. If the broker is successful, I suggest we use the chrome, the tools of the developer, the "Network" deposit, and there's a right click on the right call to pick "copy as curl." If this works, we'll have to leave the file...get_contents() and open a curl certificate in php. https://stackoverflow.com/questions/19212293/mimicking-an-ajax-call-with-curl-php an example. The key line is "X-Requested-With: XMLHtpRequest♪ $postVariables = json_encode(array('productsType' => $productsType, 'historyPageIndex' => 1, 'displayPeriod' => 0));
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-Requested-With: XMLHttpRequest", "Content-Type: application/json; charset=utf-8", "__RequestVerificationToken: $token"));
curl_setopt($ch, CURLOPT_POSTFIELDS, $postVariables);
curl_setopt($ch, CURLOPT_URL, 'https://www.domain.com/ajax/getProductList');
curl_setopt($ch, CURLOPT_REFERER, 'https://www.domain.com/Applications/ViewProducts');