Okay, I'm making an online payment system that spans 4 .php pages.
Here is the breakdown:
1st page: Payment amount, product
2nd page: Personal information (name, address, etc.)
3rd page: Payment information (credit card info)
--> All info is collected and parsed to XML processor
4th page: Displays summary of transaction
So, all of this is happening on a secure server. My question is, what is the best/easiest way to pass the data from one page to another? Should I use $_POST on each page and pass the variables along one-by-one... Cookies and sessions?
Any input would be appreciated.
Here is the breakdown:
1st page: Payment amount, product
2nd page: Personal information (name, address, etc.)
3rd page: Payment information (credit card info)
--> All info is collected and parsed to XML processor
4th page: Displays summary of transaction
So, all of this is happening on a secure server. My question is, what is the best/easiest way to pass the data from one page to another? Should I use $_POST on each page and pass the variables along one-by-one... Cookies and sessions?
Any input would be appreciated.