Answers for "how i can use timestamp for upload images in database using php"

PHP
1

put img in timestamp using php

$ext = explode('.', $image_name);
            $file_name = $ext[0];
            $file_ext = $ext[1];
            $new_file = $file_name . '_' . time() . '.' . $file_ext;        //time() returns unix format
Posted by: Guest on September-09-2021

Code answers related to "how i can use timestamp for upload images in database using php"

Browse Popular Code Answers by Language