Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Programming (http://www.domainnameforum.org/forumdisplay.php?f=18)
-   -   php - get file extension from a URL string and display div based on file type (http://www.domainnameforum.org/showthread.php?t=98524)

webdev 05-31-2010 04:41 PM

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:


All times are GMT -4. The time now is 11:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.