No file was selected to upload';
//if it is not empty
//get the original name of the file from the clients machine
$filename = stripslashes($_FILES['image']['name']);
//get the extension of the file in a lower case format
$extension = getExtension($filename);
$extension = strtolower($extension);
//if it is not a known extension, we will suppose it is an error and will not upload the file,
if ($extension == "exe")
//print error message
That type of file is not allowed. Please use audio files.
//get the size of the image in bytes
//$_FILES['image']['tmp_name'] is the temporary filename of the file
//in which the uploaded file was stored on the server
//compare the size with the maxim size we defined and print error if bigger
if ($size > MAX_SIZE*1024)
You have exceeded the size limit!';
//we will give an unique name, for example the time in unix time format
//the new name will be containing the full path where will be stored (images folder)
//we verify if the image has been uploaded, and print error instead
$copied = copy($_FILES['image']['tmp_name'], $newname);
Sorry, your file did not load properly.';
//If no errors registred, print the success message
if(isset($_POST['Submit']) && !$errors)
It can be useful to play along to a backing track or to a recording of a song that you are learning
However most recordings are polished performances that are very fast while you're still learning a song.
With this online tool you can load your audio file to playback more slowly so that you can play guitar along with it more easily.
It works with audio media files such as mp3, wma and wav.
Designed for use in Internet Explorer. The file size affects loading time.