curl-and-php
Help with curl
From: Arthur Bickle <abickle_at_gmail.com>
Date: Fri, 17 Jun 2005 10:56:56 -0700
Date: Fri, 17 Jun 2005 10:56:56 -0700
Hello, Does anyone know if there is a way to parse and alter the information
coming from
the website before it is sent to the browser?
<?
$url=”HYPERLINK "http://www.anydomain.com/"http://www.anydomain.com%94;
$ch= curl_init($url);
if(!$ch)
die(sprintf('Error [%d]: %s', curl_errno($ch), curl_error($ch)));
$data=curl_exec($ch);
if(!$data){
die(sprintf('Error [%d]: %s', curl_errno($ch), curl_error($ch)));
}
curl_close ($ch)
?>
Thanks
art
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.4/16 - Release Date: 6/15/2005Received on 2005-06-17