Forum Moderators: coopster
Any suggestions
From the form
<td width=\"83%\"><INPUT TYPE=\"file\" NAME=\"img1\" SIZE=\"30\"></td>
after submit it starts to upload
if ($img1_name!= "")
{
@copy("$img1" ,"/path/to/dir/$img1_name") or die("Couldn't Upload Your File.");
$picname = $img1_name;
}
else
{
die("No File Specified");
}
I was thinking i might have to delcare $img1 as something but not sure what.
Thanks guys