this code seems right, but it doesnt work, because it returns nothin
page 1
Code: Select all
<input name='userfile' type='file'class='textbody' value='Browse...'>
</td></tr>
<tr>
<td colspan='2' height='25' align='center'>
<input name='Submit' type='image' value='Submit' src='submit.gif'>
</td>page2
Code: Select all
<?php
echo $_FILES['userfile']['name']; //Should echo the name of the file right???
?>thanks
Deemo