|
|
|
สอบถามปัญหาการล็อกอินแล้วก็วีดีโอ flash เวลาอัฟลง host อ่าครับ |
|
|
|
|
|
|
|
$_POST ใช้อันนี้อ่าครับ
|
|
|
|
|
Date :
2011-05-11 21:37:39 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
<style type="text/css">
<!--
body {
background-color: #04568f;
}
.style1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: bold;
}
-->
</style>
<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
with(navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
}
}
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
}
}
}
}
</script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<body onLoad="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"><div align="center">
<p><img src="images/pic_vdo.jpg" width="430" height="92"></p>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','438','height','350','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=vdo/VTS_03_1&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="438" height="350" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=vdo/VTS_03_1&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=vdo/VTS_03_1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="438" height="350" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
</noscript>
</p>
</div>
|
|
|
|
|
Date :
2011-05-11 21:43:32 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
<form method = "" action="vdo_login1.php" name"form2" onSubmit="JavaScript:return fncSubmit();">
<table width="239" border="2" align="center" >
<tr>
<td width="100" height="25"><img src="images/pure7.gif" width="130" height="30" /></td>
<td width="121"><input type="text" name="username" size="25" id="username" /></td>
</tr>
<tr>
<td width="100" height="25"><img src="images/pure8.gif" width="130" height="30" />
<td width="121"><input type="password" name="password" size="25" id="password" /></td>
</tr>
<tr>
<td height="29"> </td>
<td><input type="submit" value="Login" name="submit" />
<input type="reset" value="Cencel" name="resst" id="resst" /></td>
</tr>
</table>
</form>
Code (PHP)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
$user= "pattani";
$pw= "pattani";
if(($username==$user)&&($password==$pw)){
$login = 'pass';
echo "<script>alert('เชิญรับชมวีดีโอโครงการปัตตานี');</script>";
echo "<script>window.location='vdo_login2.php';</script>";
}
else {
$login = 'No';
echo "<script>alert('เกิดข้อผิดพลาดในการล็อกอิน');</script>";
echo "<script>window.location='vdo_login.php';</script>";
}
?>
|
|
|
|
|
Date :
2011-05-11 21:52:03 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ตอนนี้ล็อกอินทำได้แล้ว ครับ เหลือแต่วีดีโอ flash ยังไมไ่ด้อ่าครับ ขึ้นแต่กรอบ แต่ไม่มีวีดีโอขึ้นอ่าครับ
|
|
|
|
|
Date :
2011-05-11 21:56:59 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ไม่มีใครตอบเลยอ่า ช่วยผมด้วย
|
|
|
|
|
Date :
2011-05-12 09:40:24 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
โปรแกรมที่ใช้สร้าง Flash ครับใช้โปรแกรมไหนครับ
|
|
|
|
|
Date :
2011-05-12 10:09:34 |
By :
prach_kp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dream cs3 ครับ
|
|
|
|
|
Date :
2011-05-12 10:30:10 |
By :
beer656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|