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

curl-and-php

Resolving URL's in curl.

From: Rudi Starcevic <rudi_at_oasis.net.au>
Date: Fri, 26 Sep 2003 13:00:35 +1000

Hi,

When I get a web page is it possible to resolve the url's in thing like
'img' and 'a' tags ?

Here's an example of and image tag after a curl get:
<img name="between4" src="images/between4.gif" width="10" height="12"
border="0" alt="">

I'd like the 'src' attributes to be resolved fully to the URL is belongs to.
In this case it would look like:

<img name="between4"
src="http://www.sunrisehomes.com.au/images/between4.gif" width="10"
height="12" border="0" alt="">

Thank you kindly
Regards
Rudi.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-26