I'm a beginner, (and I don't write good English too,..) and I got one question.
I have a couple of files on my homepage, available for download, and I want them to be downloaded via a page called download.php. I want to be able to do links like this:
Code: Select all
www.mysite.com/download.php?file=filename.zipI've tried this code, but it didn't work. Something wrong?
Code: Select all
<?php
if ($fil == "") {
echo "A error message!";
} else {
echo "Dwld the file by a click at this <a href="" $fil "">LINK</a>";
}
?>