If using on GoDaddy

First, thanks for the code! Second, if using this with GoDaddy, you will need to specify the use of an SSL Proxy.

GoDaddy shows the proxy info here:
http://help.godaddy.com/article.php?article_id=288&topic_id

You can paste the following right after the curl_init(); in the class (about line 57)

//required for GoDaddy
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
//required for GoDaddy

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4>
  • Lines and paragraphs break automatically.

More information about formatting options