*SOLVED*whats wrong?
Posted: Tue Mar 16, 2004 1:51 pm
once again i come to you guy for help
this code seems right, but it doesnt work, because it returns nothin
page 1
thats just a section of my form, that works fine, but when i click on the submit button which is supposed to take me to page and display the name of the fill in the Browse box, it returns nothing. here is what i have in page2
page2
nothing is returned. i have read the entire documentation on php.net on $_FILES and i have used code from there and i am clueless
thanks
Deemo
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