hi
i want to upload image with epoch date Concatenate. image is load successfully. but when i does not want to image upload then epoch date is store in database
i use this code
if (isset($_FILES['photo1']['name'])) {
$mode = '0777';
$photo1 = $epoch.$_FILES['photo1']['name'];
$image1 = $uploadDir.$pho to1;
move_uploaded_f ile($_FILES['photo1']['tmp_name'],$image1);
chmod ($image1, octdec($mode));
}
if any body have idea about it
i want to upload image with epoch date Concatenate. image is load successfully. but when i does not want to image upload then epoch date is store in database
i use this code
if (isset($_FILES['photo1']['name'])) {
$mode = '0777';
$photo1 = $epoch.$_FILES['photo1']['name'];
$image1 = $uploadDir.$pho to1;
move_uploaded_f ile($_FILES['photo1']['tmp_name'],$image1);
chmod ($image1, octdec($mode));
}
if any body have idea about it
Comment