Post with Redirect...
Posted: Tue Oct 21, 2008 9:28 am
Hello All,
I am fairly new to PHP and have to use it for a project am on right now. What I have to do is send information to a payment form through POST headers. I cannot use a form submit because I have to make decisions on the information given and fill in the fields to be sent appropriately. I tried cURL, but I couldn't seem to get it to actually transfer to the site, http_redirect didn't seem to work for some reason, and I don't want to just append the string onto the url. I am going to try to fill in the fields and submit the form on Page Load through Javascript, but was hoping to stay away from Javascript (for that small percentage of folks who have it turned off). Has anybody had experience with this? And, if so, how did you go about it?
Thank You,
NUZZI
I am fairly new to PHP and have to use it for a project am on right now. What I have to do is send information to a payment form through POST headers. I cannot use a form submit because I have to make decisions on the information given and fill in the fields to be sent appropriately. I tried cURL, but I couldn't seem to get it to actually transfer to the site, http_redirect didn't seem to work for some reason, and I don't want to just append the string onto the url. I am going to try to fill in the fields and submit the form on Page Load through Javascript, but was hoping to stay away from Javascript (for that small percentage of folks who have it turned off). Has anybody had experience with this? And, if so, how did you go about it?
Thank You,
NUZZI