Hi there all.
I am trying to upload a file to a directory using move_uploaded_file($_FILES['original_image']['tmp_name'], $filename).
What i need to do is get the filename's extension. Is there a function in PHP that can do this?
ie. if the filename is filename.jus, then I need to obtain the ".jus" and put it into a variable.
Help please 🙂