curl-and-php
curl_exec error CURLE_READ_ERROR
From: Akin D <thrust_ak_at_hotmail.com>
Date: Wed, 12 Mar 2008 13:12:05 -0400
Date: Wed, 12 Mar 2008 13:12:05 -0400
When requesting content I'm getting the following error code just after I run curl_exec:
Failed to open/read local data from file/application - from curl_error()
26 - from curl_errno()
I'm requesting a page not a file. I get the same results even when I put a trailing forward slash at the end of my url
I'm using the following commands to send my request:
curl_init()
curl_setopt($ch, CURLOPT_URL, 'http://example.com/');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec - this is where the error is happening.
Could anyone tell me what this means exactly? If it has anything to do with permissions?
Thanks,
-- Akin _________________________________________________________________ At a loss for words? Find them by playing Seekadoo! Play now! http://g.msn.ca/ca55/208 _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2008-03-12