Hi, I'm using PHP 4 and I am submitting some images in a form with
<form name=addProduct Form enctype="multip art/form-data" method=post
action="add_pro duct_response.p hp">
<input type=file name='prodImg' id='prodImg'>
However, sometimes, the images fail to upload, even though the form
submits fine. When I try to print out the values from the
$_FILES['prodImg'] array, I get
name: ONDA076.jpg
type:
tmp_name:
error: 3
size: 0
What does an error code of 3 mean? I would prefer not to do anything
to my image (take it to PhotoShop and edit it, etc.). Is there
something else I can do so that it will upload?
Thanks, - Dave
<form name=addProduct Form enctype="multip art/form-data" method=post
action="add_pro duct_response.p hp">
<input type=file name='prodImg' id='prodImg'>
However, sometimes, the images fail to upload, even though the form
submits fine. When I try to print out the values from the
$_FILES['prodImg'] array, I get
name: ONDA076.jpg
type:
tmp_name:
error: 3
size: 0
What does an error code of 3 mean? I would prefer not to do anything
to my image (take it to PhotoShop and edit it, etc.). Is there
something else I can do so that it will upload?
Thanks, - Dave
Comment