|
 |
|
ไม่ทราบว่าผมจะแสดงไฟล์ flash ที่อยู่ บนโฮสต์ ผ่านฐานข้อมูลได้ยังไงบ้างครับ |
|
 |
|
|
 |
 |
|
Code (PHP)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="690" height="200">
<param name="movie" value="<? echo $yourfile ?>">
<param name="quality" value="high">
<embed src="<? echo $yourfile ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="690" height="200"></embed>
</object>
|
 |
 |
 |
 |
Date :
2009-11-03 10:10:11 |
By :
Sek-Artdrinker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
โค๊ดนี้ลองดูแล้วนะครับ ผมจะต้องใส่ $youfile ยังไงครับพี่เสก คือมันอยู่ในโฟลเดอร์บนโฮสอ่าครับ
|
 |
 |
 |
 |
Date :
2009-11-03 10:53:42 |
By :
Dragons_first |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="690" height="200">
<param name="movie" value="flash/<?=$rs[flash_name]?>">
<param name="quality" value="high">
<embed src="flash/<?=$rs[flash_name]?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="690" height="200"></embed>
</object>
folder คือ flash
file ใน db คือ $rs[flash_name]
|
 |
 |
 |
 |
Date :
2009-11-03 11:12:40 |
By :
ICrazyMan |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ก็เหมือน รูปภาพแหละครับ ใน database คุณเก็บชื่อไฟล์ใช่มั้ยครับ แล้วก็ชี้ path ไฟล์ให้ถูก
|
 |
 |
 |
 |
Date :
2009-11-03 11:16:50 |
By :
Sek-Artdrinker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อ้าาาาาาาได้แล้วครับ ขอบคุณมากๆเลยครับ พี่เสก กับคุณ ICrazyMan
|
 |
 |
 |
 |
Date :
2009-11-03 11:27:43 |
By :
Dragons_first |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอขอบคุณด้วยคนครับ กำลังหาอยู่เลย
+1 ให้เลยครับ
|
 |
 |
 |
 |
Date :
2009-11-03 11:31:12 |
By :
tingtongkub |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 03
|