<!doctype html>


<html>

  <script type='text/php' src='/upload.php'></script>

<head>
<title>Andrew Ramage </title>
<meta name="description"content="My first web site - experimental" />

<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="action_page" type="text/php" href="action_page.php">
</head>

<body>



<h1><center>Andrew Ramage</center></h1>

<p>
<center>
<img class="imagec" src="Pictures\me 6.jpg">
</center>
</p>

<!-- Start of code-->
<form action="" method="">
<h2>Music Files <center>Books I've Read</center></h2>


<div class="div1">

<p>


<form action="/upload.php" method="post" enctype="multipart/form-data">
    <input type="file" name="fileToUpload" id="fileToUpload">
    <input type="submit" value="Upload music file" name="submit">
<script>
<?php
$target_dir = "Music/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;
$audioFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));


// Allow certain file formats
if($audioFileType != "mp3" && $audioFileType != "ogg"  {
    echo "Sorry, only MP3 and OGG files are allowed.";
    $uploadOk = 0;


// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
    echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
} else {
    if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
        echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded.";
    } else {
        echo "Sorry, there was an error uploading your file.";
    }
}
?>

</form>


<br>
<br>
<br>
<br>
<br>
<br>

<p>Select a music file:
 <button onclick="download(filename)">Download</button>
</p>esent

<script>
function download(x)
{
}
</script>


</div>

<div class="div2">

<p><u>Storm of Fury by Jessica Gunn</u><br><br>
In the latest adventure, Vera has to confront the evil released at the end of the last.  With insufficient sleep, will she  able to protect her family - both  chosen and birth ?  Again, Ms Gunn has provided a rousing adventure as the first part of the tale es to an end.  Highly recommended.</p>
<br>
<br> 
<p><u>Splinter Universe Presents</u><<br>
Sharon Lee and Steve Miller present outtakes and never-were lumps of stories from the Liaden Universe.  I enjoyed reading these splinters which the authors wrote with their usual skill.  Highly recommended. </p>
<br>
<br> 

<p><u>What I'm Reading</u><br>Diamonds Are Forever by Eric Flint and Rick  Spoor</p>
</div>


</body>

</html>