Reply to POSTing to another site on redirect

Your name:

Reply:


Posted by Jim Evans on 06/07/05 18:12

Hi All

I'm building a shopping cart that ties in with PayPal for payments.
After working out the postage charge, I want the user to be able to
confirm if they'll sign up to a newsletter or not, and then to be taken
to Paypal. I'd like to do all that with just one click.

Paypal only lets you pass one hidden variable, and I need that to
identify the customer in the back end stuff, so I can't check on the
newsletter thing after payment.

I'm looking for a way to process the form input myself, before sending
the user to PayPal. How can I add POST data to a "Location" header?

Although I could do it by sending them to a script that does the
processing for the newsletter, and then uses javascript to submit the
form values using post (e.g. <body onload="formname.submit();">) I'm
trying to keep it javascript free, so it'll be 100% accessible.

Anyone know how to add the headers (or have a suggestion how else I can
do this)?

Thanks

Jim

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация