HTML code to autogenerate different types of media?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


Does anyone have or know of any code that, given a path to a file (will
be a file and not a directory), can auto-generate HTMl code to
accurately display that file in a browser?  The types of files will
consist of images, audio files, video files, and Flash files.  I'm
using PHP 4.4.4.

If I have to write some giant switch statement, so be it, just thought
someone mighit have a better idea or one already pre-built.

Thanks, - Dave

Site Timeline