rendered paste body<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="http://localhost/ajaxtest/xmlhttp.js"></script>
<script type="text/javascript" src="http://localhost/ajaxtest/functions.js"></script>
<body>
<div id="showimg"></div>
<form id="uploadform" action=http://localhost/ajaxtest/process_upload.php" method="post" enctype="multipart/form-data" target="uploadframe">
Upload a File:<br />
<input type="file" id="myfile" name="myfile" />
<input type="submit" value="Submit" onclick="uploadimg(document.getElementById('uploadform')); return false;" />
<iframe id="uploadframe" name="uploadframe" src="http://localhost/ajaxtest/process_upload.php" class="noshow"></iframe>
</form>
</body>