Get file extension

See all posts Reply

Get file extension new!
by joostvm, 15 years ago
Is it possible to get the file extension, so I can put the extension in a database after the upload?Reply
Re: Get file extension new!
by colin, 15 years ago
Yes, you can. All information is in the doc.

Basically, once you called process(), you can read the variables file_dst_path, file_dst_name_body, file_dst_name_ext, file_dst_name, file_dst_pathname, which will hold information about the uploaded file.Reply