Okay...here's the html form part:
move_uploaded_file($_FILES["pic1"]["tmp_name"], "../uploads/" . $_FILES["pic1"]["name"]);
hi there,
i think you need to make sure image is properly uploaded in to the folder. For this you can use
$result = move_uploaded_file($TempFileName, $FilePath);
if (!$result)
{
echo "Error in uploading file";
exit;
}
chmod($FilePath,0777);
chmod change permission to that folder. Also you need to manually change permission using your FTP. Simply right click on that folder in FTP and choose CHMOD option change it to WRITE ALL.
If problem persist please reply.
Hope this will help you.
Thanks & Regards
Dilip Kumar Vishwakarma