/ Published in: PHP
Handy function that allows you get some data on a file
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo $file_info['dirname'] . "<br />"; echo $file_info['basename'] . "<br />"; echo $file_info['filename'] . "<br />"; echo $file_info['extension'] . "<br />";