Jump to content


This topic is now archived and is closed to further replies.


Passing data between pages

Recommended Posts

Ok, I know how to pass data using forms and get the info through $_GET and $_POST. This is sort of hard for me to explain to bear with me.

This guide I've been reading on how to interact with this particular online credit card processor is giving information on how to pass information to them so they can validate credit cards and all that crap. All of their examples use forms and hidden input fields to pass various info - such as a pin number and stuff.

Finally at the end of this guide they are like using hidden form fields were only examples and we wouldn't recommend this method. ???? Brilliant!

So, is there a way that a form has been submitted, to have it go to say a page within my site, I can validate, manipulate, and do whatever with the form information and then pass this info off to another page so that it's coming as form variables.

If I'm not clear enough say so and I will try and explain more.


Share this post

Link to post
Share on other sites
One way is to use cURL which supports SSL/HTTPS.

[a href=\"http://us3.php.net/manual/en/ref.curl.php\" target=\"_blank\"]http://us3.php.net/manual/en/ref.curl.php[/a]

Processing Payments With CURL tutorial:

[a href=\"http://www.phpfreaks.com/tutorials/49/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/49/0.php[/a]

Good luck.

Share this post

Link to post
Share on other sites
[!--quoteo(post=358667:date=Mar 26 2006, 10:14 PM:name=frustrated)--][div class=\'quotetop\']QUOTE(frustrated @ Mar 26 2006, 10:14 PM) [snapback]358667[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Thanks, CURL appears to be exactly what I need.
your doing this relly hard for your self just use payal and there ipn code in php.

good luck.

If you look at all my posts your see a whole paypal information and guide.

Can you also please tell us the credit card provider that is providing this obsene code as you might get a better result with google for a better solution to your problam in setting up php with this weried processing company cheers.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.