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

curl-and-php

Re: parsing url of returned page

From: Pete James <peter_james_at_advanis.ca>
Date: Tue, 12 Mar 2002 13:35:46 -0700

The $result returned from the curl operation is the same output from the
external page that you would see if you used your browser to go to there
instead of curl. You can return any type of data to $result, but I'm
not sure I understand what URL string you are talking about. Could you
clarify?

Pete.

Andrew Hazen wrote:

> Hi,
> I have used curl in php to post to an external page.RETURNTRANSFER =1
> so that I capture the result to $result.
>
> The data I need is in this returned URL string. How do I parse it
> without printing out the entirety of $result??
>
>
>

--
Pete James, Advanis
Received on 2002-03-12