<?
$dl_link=http://www.example.com/fajlKojimeInteresuje.tar.gzip;
header("Location: $dl_link");
?>
ovo radi ok, ali me interesuje kako da prvo parsiram neki templejt, npr.:
<p class="bodycopy">Thank you for downloading your free programm
Trial.<br>
<br>
Please note: The trial will remain active for 3 days at which
point you will need to enter the keys we have emailed to you.
If you do not receive your keys, please <a href="mailto:[email protected]">click
here</a> to notify us.</p>
pa tek onda da krene dl.
Recimo kao na sourceForge, ako nisam bio dovoljno jasan.