NYCPHP Meetup

NYPHP.org

[nycphp-talk] LWP Request?

Chris Shiflett shiflett at php.net
Fri Sep 10 16:04:59 EDT 2004


--- Rahmin Pavlovic <rahmin at insite-out.com> wrote:
> Basically, I'm form POSTing my data to a 3rd party and they spit back a
> URI to the browser window.  They can't redirect to the URI, and they 
> can't return the link as a GET variable to us.  I tried.  So I'm left
> with this ugly URL pasted in the window that's not even clickable.
> 
> So I'm looking into ways to send the POST as an HTTP request so I could
> grep the HTTP response into our template, but am coming up short.

There's cURL, various PEAR modules, and the manual method:

http://shiflett.org/hacks/php/http_post

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/



More information about the talk mailing list