Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2010-05-03 07:24:36

Ryan Johnston
Member
Registered: 2010-03-08
Posts: 21

POST Variables to External Page?

Hey smile

So we were wondering, is it possible using Zend Framework to POST variables to another external page?

Eg: User clicks a button, it formats all the variables (session etc) into a POST Array and sends them off to a payment provider (instead of a HTML based form).

Cheers,
Ryan

Offline

#2 2010-05-03 12:52:11

Jon Lebensold
Administrator
Registered: 2009-06-27
Posts: 279

Re: POST Variables to External Page?

sure! why not?

look at Zend_Http_Client tongue

Offline

#3 2010-05-03 21:17:47

Ryan Johnston
Member
Registered: 2010-03-08
Posts: 21

Re: POST Variables to External Page?

Yeah I'm using Zend_Http_Client for a couple of the other payment providers however with this one in particular we need it to redirect to the page too.

So redirecting to the url with a post? As apposed to "behind the scenes". I haven't been able to find any option for Zend_Http_Client to redirect the page too?

Offline

Board footer

Powered by FluxBB