php - get file extension from a URL string and display div based on file type
I'm passing the string: ?filename=MovieName.wmv or MovieName.mp4 and I need the script to display a div with the corresponding media player based on the file extension. Here's the basic structure:
__________________
Website Development
Domain Name Forum