NYCPHP Meetup

NYPHP.org

[nycphp-talk] LWP Request?

Scott Mattocks scott at crisscott.com
Thu Sep 9 16:43:10 EDT 2004


PEAR is the answer to everything
http://pear.php.net/package/HTTP_Request

You can send requests as get or post and evaluate the response. You 
should be able to do anything you want with this class.

Scott Mattocks

Rahmin Pavlovic wrote:

> Hello PHP heads,
> 
> I'm in a quandry wrapped in a conundrum wrapped in some rice paper, and am wondering if anyone can help provide insight.
> 
> 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.
> 
> Can anyone recommend a resource or tutorial for doing something like this in PHP?  Would something like this be better done in PERL?  We're 
> running PHP 4.3.7.
> 
> Thanks for any advice,
> Rahmin
> 
> 
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 



More information about the talk mailing list