|
-
Oct 25th, 2002, 09:40 AM
#3
New Member
echo "<FORM ENCTYPE=\"multipart/form-data\" ACTION=\"./uploadItem.php\" METHOD=\"POST\">";
echo "<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"200000\">";
echo "<INPUT TYPE=\"hidden\" name=\"ItemID\" value=\"$II\">";
echo "Send large image:";
echo "<INPUT NAME=\"image\" TYPE=\"file\"><br><br>";
At next page-
if (!copy($image,"images/".$ItemID.".jpg"))
{
print "Error Uploading Image.";
exit();
}
unlink($image);
This way will be much easy!
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|