Month: August 2006

  • Download.php code for forcing download of mp3s jpegs

    I have had several requests for the PHP code for forcing downloads of specific file types. Here it is: <?php function download_file ($file) { //First, see if the file exists if (!is_file ($file)) { die (‘<b>404 File not found!</b>’) ; } $file_length = filesize ($file) ; $filename = basename ($file) ; $file_extension = strtolower (substr…

  • Godaddy is expiring .uk domain names before their expiry date

    Copy of email sent to Godaddy, 2006-08-20 16:48 BST Dear Sir/Madam, The domain lawandethics.org.uk was purchased on the basis that it would forward all traffic and email to a specified address (lawandethics.org). The domain does not expire until 9/20/2006, yet it has now been redirected to a Godaddy advertising page. If the redirection is not…

  • Plesk backup to remote FTP

    Plesk 8.01 is still giving problems with backup to remote FTP. I use a Godaddy FTP server as backup. However, Plesk seems to delete the old backup file without creating a new one. My workaround is to do backups manually. Using Putty SSH, I create a backup directory, eg. 20060816. Then, in Plesk -> Domains…