jrpipt2luk
New Member
I've got something like the following lines of PHP code (on IIS):\[code\]$service_url = 'http://some-restful-client/';$curl = curl_init($service_url);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);$curl_response = @curl_exec($curl);curl_close($curl);\[/code\]When executing this I get the following exception\[quote\] PHP has encountered an Access Violation at 010AD1C0\[/quote\]When removing the line \[code\]curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);\[/code\], the code is executing just fine. I have granted \[code\]ext/php_curl.dll\[/code\] read rights for my IIS account.Any clue, or any other way around this to make sure curl isn't echo'ing the response?