like
Code: Select all
<?xml decare thingy>
<deletefromhere>blah blah blah<tohere></deletefromhere></tohere>
<ordeletethisline>blah blah blah</deletethisline>
</xml thingy>
so any suggestions would be great!
ty,
-kraig
Moderator: General Moderators
Code: Select all
<?xml decare thingy>
<deletefromhere>blah blah blah<tohere></deletefromhere></tohere>
<ordeletethisline>blah blah blah</deletethisline>
</xml thingy>
Code: Select all
<?php
$ch = curl_init("url here");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_REFERER, "url here");
$data = curl_exec($ch);
curl_close($ch);
$data = Preg_replace('<lastBuildDate>', ' ',$data);
echo $data;
?>