Hi there-
I know that I cannot include a Flash or Image file w/o first embedding them into a simple HTML file. Without creating a forever and a day list of html pages, is there anyway that I can include a flash or image in a way like:
// if there is a .swf in the var name
if stristr("$filename",".swf"){
// put the code for embedding a flash file here
}elseif stristr("$filename",".jpg"){
echo "<img src='$filename'>";
}
and so on... is there an easier way to do this? The user is selecting a Flash file or an Image or whatever from a drop down list and displaying it on the bottom of the page.
thanks