cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curl redirect

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Jul 2003 10:19:46 +0200 (CEST)

On Fri, 11 Jul 2003, Felix Schubert wrote:

> but what I don't understand is when I try the code I only get a blank screen
> and not the page of the foreign server - any idea?

Yes, if you want the HTLM page returned to the $page variable in your example,
you should also set the CURLOPT_RETURNTRANSFER option to 1.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
Received on 2003-07-14