![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||||||
|
||||||||||||
|
anyone ever 'shelled out' to cURL on UNIX?
hey,
very new to the whole nix thing and am trying to utilize a script that shells out to cURL--linkpoint payment processing module for oscommerce--i can't even get the script to generate errors... i have put in a TT and confirmed a path to curl, but still nothing, just a blank page spit out at the end of the checkout process. the author of the script says that this is symptomatic of a misconfiguring of cURL-- can anyone drop some wisdom on me in reference to this item...
__________________
boot numlock |
|
#2
|
|||||||||||
|
|||||||||||
|
curl is configured right, but it is not compiled into PHP, not sure if that is why the script author said that or not.
Sadly I don't know much about it though. |
|
#3
|
||||||||||||
|
||||||||||||
|
there is an option in the script to shell out to it, but it doesn't even act like it is getting to that point-- i am so weak at php that i can barely even figure out how to add in debugging lines
![]() matt asked what the exec function what returning--if the script is set up $result= exec ( blah, blah, blah... can i just echo$result; ?
__________________
boot numlock |
|
#4
|
||||||||||||
|
||||||||||||
|
I've also had curl problems for weeks now (on cpanel acct and for authorize.net processing).
I'm calling curl via php's exec function. It's funny, because at first curl would send the data to authorize (I got confirmation emails form Authorize), but the response wouldn't happen. The program would simply hang and never finish. Right after I first reported the incident, it worked perfectly! Then the next day, it was back to hanging. Now it doesn't even get the data to Authorize and I've been waiting for a few days for someone to fix this problem. I have read the curl docs. I am using it correctly. It DID work for a few hours. Come on guys! What's the deal? I have clients who are depending on me! majorsky |
|
#5
|
||||||||||||
|
||||||||||||
|
I've also had curl problems for weeks now (on cpanel acct and for authorize.net processing).
I'm calling curl via php's exec function. It's funny, because at first curl would send the data to authorize (I got confirmation emails form Authorize), but the response wouldn't happen. The program would simply hang and never finish. Right after I first reported the incident, it worked perfectly! Then the next day, it was back to hanging. Now it doesn't even get the data to Authorize and I've been waiting for a few days for someone to fix this problem. I have read the curl docs. I am using it correctly. It DID work for a few hours. Come on guys! What's the deal? I have clients who are depending on me! majorsky |
|
#6
|
||||||||||||
|
||||||||||||
|
is there anyone with any experience with this subject that has had success here at matrix?
__________________
boot numlock |
|
#7
|
||||||||||||
|
||||||||||||
|
Sorry. In my rant I forgot to give you what you were looking for... Here's a couple test scripts for using curl without having to send data to your processor. The basic functionality of curl is the same as you'd use for your processor...
Code:
|
|
#8
|
||||||||||||
|
||||||||||||
|
Well, it appears that curl is not installed. I can't even find a path to it using "whereis"
argh! |
|
#9
|
|||||||||||
|
|||||||||||
|
On unix I believe it should be /usr/local/bin/curl
|
|
#10
|
||||||||||||
|
||||||||||||
|
I can confirm this
|
|
#11
|
||||||||||||
|
||||||||||||
|
i have noticed from server to server [unitl pointed out to tech staff] curl may or may not be there--i was told the other day it was just installed on unix10--hey majorsky-- how do you use that whereis feature?
__________________
boot numlock |
|
#12
|
|||||||||||
|
|||||||||||
|
I guess it may not be available on some of the newer servers, I do seem to recall that when the 'curl' issue came up a while ago that hostnet went through and installed it on all existing servers.
Last edited by Brangwyn : 07-21-2003 at 10:09 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cURL... am i out of luck? | jwatts | Chit Chat Public | 6 | 12-05-2005 09:00 PM |
| CURL and PHP | landiserve | Chit Chat Public | 4 | 01-12-2003 07:35 PM |