NYCPHP Meetup

NYPHP.org

[nycphp-talk] http post request relative links

Rob Notwicz rob.notwicz at gmail.com
Thu Nov 16 13:38:52 EST 2006


I'm making a post request to an https site using PEAR HTTP_Client.  The site
redirects me and the redirected page returns a response as a relative link,
and so I end up getting back http://locahost/xxxx rather than
https://[site]/xxxx and so end up with a 404 error.  Does anyone know how I
can get the response back as relative to the site I'm trying to access
instead of relative to my web server?

thanks so much,
   Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061116/f30c4c0f/attachment.html>


More information about the talk mailing list