Jump to content


Photo

Passing data between pages


  • Please log in to reply
3 replies to this topic

#1 frustrated

frustrated
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 26 March 2006 - 04:55 PM

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.

Thanks


#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 26 March 2006 - 05:13 PM

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.


#3 frustrated

frustrated
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 26 March 2006 - 10:14 PM

Thanks, CURL appears to be exactly what I need.

#4 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 26 March 2006 - 10:25 PM

[!--quoteo(post=358667:date=Mar 26 2006, 10:14 PM:name=frustrated)--][div class=\'quotetop\']QUOTE(frustrated @ Mar 26 2006, 10:14 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Thanks, CURL appears to be exactly what I need.
[/quote]
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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users