Skip to main content
Participant
April 17, 2006
解決済み

Need help!

  • April 17, 2006
  • 返信数 1.
  • 185 ビュー
Hi, beginner web person here. I work for a smal school district and we are trying to create a web site that will display data from a database. We need both quicktime files OR image files to display in the space. A past student has written us the code below but it doesn't seem to work quite right. According ot the code, it is supposed to look at the file name and if it is a .mov, then embed as a plug in. If it is an image file, it is supposed to use IMG in the string. It always uses EMBED no matter what type of file name is referenced. Any help would be greatly appreciate!

このトピックへの返信は締め切られました。
解決に役立った回答 delaneypub
It looks like the variable "extension" isn't being set properly, so your if statement below there is always false. Before the line "extension = LCase(extension)", add "extension = Right(varstring,sizeofext)". Let me know if that doesn't work.

返信数 1

delaneypub解決!
Participating Frequently
April 17, 2006
It looks like the variable "extension" isn't being set properly, so your if statement below there is always false. Before the line "extension = LCase(extension)", add "extension = Right(varstring,sizeofext)". Let me know if that doesn't work.