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

curl-and-php

Re: displaying results from curl

From: Scott Nichol <snicholnews_at_scottnichol.com>
Date: Wed, 10 Dec 2003 17:53:02 -0500

I am not sure exactly what you are saying, but have you checked the CURLOPT_RETURNTRANSFER option for curl_setopt?

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message -----
From: <TQatSJU_at_aol.com>
To: <curl-and-php_at_lists.sourceforge.net>
Sent: Tuesday, December 09, 2003 1:28 AM
Subject: displaying results from curl

> i'm able to do a post request to an external script just fine. However i do
> a simple post request every minute or so in a loop to the external script then
> i get the results back in my script with curl. I want to be able to display
> on the screen the results (from the post r each time replacing the previous
> results, is there any easier way to do this then saving the results to a
> temporary file and redirecting to that file ? Not that this isnt easy per say, but i
> guess a faster way or better way ?
>

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op%cck
Received on 2003-12-10