/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * increase the timeout * if experiencing badd hosting connections **/ CURLOPT_CONNECTTIMEOUT => 110, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 160, CURLOPT_USERAGENT => 'facebook-php-2.0', /** * add these to turn off the SSL **/ CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false,
Comments
