Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / we are having curl execution problme on godaddy server so can you pl what to do?

we are having curl execution problme on godaddy server so can you pl what to do?

Locked

Started by bhaven on 30 Mar 2008, 12:42 PM · Views: 4,876

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Mar 2008, 12:42 PM
#1
bhaven avatar

bhaven

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

30 Mar 2008, 12:45 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: we are having curl execution problme on godaddy server so can you pl what to do?

If you believe that you must continue using GoDaddy, then you'll need to follow these instructions to enable CURL Proxy support in Zen Cart:
http://www.zen-cart.com/forum/showthread.php?t=61528

Or you could use a hosting company who has better CURL support:
http://www.zen-cart.com/index.php?main_page=infopages&pages_id=10

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2008, 1:15 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: we are having curl execution problme on godaddy server so can you pl what to do?

pl help asap we are loosing our business
Why did you go live without first testing this critical factor??

Zen-Venom Get Bitten