Hi.
Ofcurse PHP!!
Thanks!!
I changed the script a bit:
code:
<?
$script = $_GET[script];
$tjek = $script.".plsc";
if (file_exists($tjek)) {
header("Content-Type: application/x-plsc");
header('Content-Disposition: attachment; filename="' . $script . '.plsc"');
readfile("$script.plsc");
} else {
echo "$tjek blev ikke fundet på serveren.";
}
?>