Risolto dopo una marea di tentativi

codice:
<?
$premiumaccount = "12345";     // Insert Premium Account ID
$fileid = "12345678";          // Insert File ID
$filename = "yourfile.zip";    // Insert file name
$killcode = "123456789012345"; // File Killcode. The Killcode can be viewed in the Premium Zone under "Export Details"
$validuntil = time() + 300;    // Effective for 300 seconds from now on
$md5hex = md5($premiumaccount.",".$fileid.",".$killcode.",".$validuntil);

print "Secured link is: <a href=http://rapidshare.com/files/$fileid/t$validuntil-$md5hex/$filename>http://rapidshare.com/files/$fileid/t$validuntil-$md5hex/$filename</a>";
?>
Semplicemente bastava non mettere le virgolette del tipo href=" ma semplicemnte href=

Ciao.