I have used CURL and PHP to retireve and process pages, but can someone please tell me how to process https pages with curl. I get the error: Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /home/account/public_html/coded/classes/connect.class.php on line 309 error fetching document:
Try setting the following options: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); PHP:
It looks like you are trying to run curl as an external program rather than using the PHP extension. Use the PHP functions if possible, it works better and is safer.