New Zenner
- Join Date:
- Mar 2008
- Posts:
- 1
- Plugin Contributions:
- 0
we are having curl execution problme on godaddy server so can you pl what to do?
We are having godaddy hosting and we are implementing payment integration in our side by using yourpay.com but we are not able to with yourpay.com payment gateway .
we found one use full code on net which is already published by godaddy support team .
help.godaddy.com/article/289 for article
which contains following code:-
<? $URL="https://www.paypal.com"; if (isset($_GET["site"])) { $URL = $_GET["site"]; } $ch = curl_init(); echo "URL = $URL <br>n"; curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); 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_URL, $URL); curl_setopt ($ch, CURLOPT_TIMEOUT, 120); $result = curl_exec ($ch); echo "<hr><br>n"; echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br><br>'; echo "<hr><br>n"; curl_close ($ch); print "result - $result"; echo "<hr><br>n"; ?>we are folowing same one by replacing url paypal with the https://www.yourpay.com
pl help asap we are loosing our business