Post Variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post Variables

Post by Luke »

When I submit a form via post, and use a url as the action... is there a way to make it so that I am not automatically taken to whatever page I used as the action? I am submitting variables to authorize.net, and once submitted, I'm just taken to their secure site and the plaintext response string just sits on the page... how do I return that string to my database??

EDIT: I just talked to authorize.net, and they said I'm not supposed to be sending the variables from a form... I'm supposed to send them some other way.. what other way???
Last edited by Luke on Mon Oct 10, 2005 2:38 pm, edited 1 time in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Your supposed to be using cURLto transmit your request and get the response string
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Is there any other way... what if I don't have cURL installed?

EDIT: Nevermind... I have it installed and it worked great. Thanks man!
Post Reply