A program to recognize and reward our most engaged community members
Warning: file_get_contents(http://myIP/RA/public_process/Use_Modells_NaiveBayes?) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /myPath/index.php on line 9Array ( [0] => HTTP/1.1 403 Forbidden [1] => Server: Apache-Coyote/1.1 [2] => Set-Cookie: JSESSIONID=0136055020702B60B2D87BA002376E50; Path=/RA [3] => Content-Type: text/html;charset=utf-8 [4] => Content-Length: 1124 [5] => Date: Fri, 17 Jun 2011 13:45:34 GMT [6] => Connection: close ) Ungueltiger Aufruf des Web Services.
/public_process/
Not Found The requested URL /my/path/j_security_check was not found on this server.
$webservice = 'http://myIP/RA/public_process/Update_Modells_NaiveBayes?'; // WebService aufrufen $xml = file_get_contents($webservice); // HTTP Status auslesen if(isset($http_response_header[0])) { list($version,$status_code,$msg) = explode(' ',$http_response_header[0], 3); } print_r($http_response_header); // HTTP Status ueberpruefen if($status_code != 200) { die('Ungueltiger Aufruf des Web Services.'); }