hi everyone,
Can anyone tell me a way to find a file name, while uploading a file? Cause I want to store the file name in a database, and later reference it. Is this possible by the way. Or is there a better way to do this.
Dear Friend,
we are having a variable $userfile_name in fileuploadings
use it
if you are having php.net manual(documentation) see the page
features.file-upload.html
regards bvsureshbabu
assuming your for looks something like this:
<input type=file name=userfile>
You would access the filename like this.
$_FILES[userfile][name]
Cheers.
Thanks you all, that helps a lot.
Adnan.