I have a PHP page I built to help build eBay listing templates. I have a folder on my hosting account which stores 100's of logos of products I sell. I know the file names but not the file type (jpg, gif, png, etc). I just switched from hosting that did not care about extensions to hosting that does. Is there away for me to use javascript or PHP to automatically ascertain the file extension? I use a form to input the file name and want the output to include the file name with extension.
Thanks in advance,
Trevor
Logo 1: ` This is the code on the php page where the results are echoed: `if(!empty($e)) { echo '![]()
– Trevor Lawson Aug 31 '14 at 08:00