Hi all,
using a simple file upload form i am getting the following error:
Warning: copy(C:\Documents and Settings\Administrator\My Documents\My Pictures\Capture\lain3.jpg): failed to open stream: No such file
any ideas what is up??
the form is:
<form action="main.php?action=2" method="post" enctype="multipart/form-data" name="form1">
<p> </p>
<table width="100%" border="1">
<tr>
<td width="14%"> </td>
<td width="31%"> </td>
<td width="55%"> </td>
</tr>
<tr>
<td>Title:</td>
<td><input name="res_title" type="text" id="res_title"></td>
<td><i><font color="#FF0000"> Be brief but descriptive, no more than 64 characters. </font></i></td>
</tr>
<tr>
<td>Description:</td>
<td><textarea name="res_desc" id="res_desc"></textarea></td>
<td><i><font color="#FF0000">Not an excuse to write an essay, but this is
where you need to explain to the other fellows exactly what they
are downloading. </font></i></td>
</tr>
<tr>
<td>File:</td>
<td><input name="userfile" type="file"></td>
<td><i><font color="#FF0000">Search for the resource on your computer. </font></i></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td></tr></table></form>