Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > ผมไม่ผ่าน เป็นไรดูให้ทีคัฟ พอดี รูปที่เปลี่ยนมันก็ปกติแต่ทำไมขึ้นแบบนี้



 

ผมไม่ผ่าน เป็นไรดูให้ทีคัฟ พอดี รูปที่เปลี่ยนมันก็ปกติแต่ทำไมขึ้นแบบนี้

 



Topic : 070898



โพสกระทู้ ( 25 )
บทความ ( 0 )



สถานะออฟไลน์




Code (PHP)
<?
	session_start();
	if($_SESSION['UserID'] == "")
	{
		echo "Please Login!";
		exit();
	}

	if($_SESSION['Status'] != "USER")
	{
		echo "This page for User only!";
		exit();
	}	
	
	mysql_connect("localhost","root","root");
	mysql_select_db("test");
	$strSQL = "SELECT * FROM member WHERE UserID = '".$_SESSION['UserID']."' ";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
	$objResult = mysql_fetch_array($objQuery);
	
?>

<html>
<head>
<title>ThaiCreate.Com Tutorial</title>
</head>
<body>

	<form name="form1" method="post" action="PageUploadToMySQL5.php" enctype="multipart/form-data">
	Edit Picture :<br>
	Name : <input type="text" name="txtName" value="<?=$objResult["Name"];?>"><br>
	<img src="myfile/<?=$objResult["filesnam"];?>"><br>
	Picture : <input type="file" name="filUpload"><br>
	<input type="hidden" name="hdnOldFile" value="<?=$objResult["filesnam"];?>">
	<input name="btnSubmit" type="submit" value="Submit">
	</form>
</body>
</html>

dfsfd



Tag : PHP, CakePHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2011-12-25 00:48:17 By : TRUEMONEYC1 View : 762 Reply : 2
 

 

No. 1



โพสกระทู้ ( 708 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

https://www.thaicreate.com/php/forum/024972.html

ดูที่ No. 19






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-12-25 01:41:44 By : kerb
 


 

No. 2



โพสกระทู้ ( 25 )
บทความ ( 0 )



สถานะออฟไลน์


ตอบความคิดเห็นที่ : 1 เขียนโดย : kerb เมื่อวันที่ 2011-12-25 01:41:44
รายละเอียดของการตอบ ::
... ขอบคุณนะครับ ผมแก้ได้พอดี พอดีลืม ผมมาทำแบบนี้ผ่านเลยCode (PHP)
<?
    session_start();
	if($_SESSION['UserID'] == "")
	{
		echo "Please Login!";
		exit();
	}
	

	$objConnect = mysql_connect("localhost","root","root") or die("Error Connect to Database");
	$objDB = mysql_select_db("test");
	$strSQL = "SELECT * FROM member WHERE UserID = '".$_SESSION["UserID"]."' ";
	
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
	$objResult = mysql_fetch_array($objQuery);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../Image/back.png);
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="../style.css" rel="stylesheet" type="text/css" />
</head>

<body onload="MM_preloadImages('../Image/n2.png','../Image/l2.png','../Image/b2.png','../Image/a1.png')">
<form name="form1" method="post" action="PageUploadToMySQL5.php" enctype="multipart/form-data">
<table width="964" height="2000" border="0" align="center" cellpadding="0" cellspacing="0" id="from1">
  <!--DWLayoutTable-->
  <tr>
    <td width="695" height="192" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="tital">
      <!--DWLayoutTable-->
      <tr>
        <td width="695" height="192">&nbsp;</td>
        </tr>
    </table></td>
    <td width="268" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="vdo">
      <!--DWLayoutTable-->
      <tr>
        <td width="268" height="57" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="268" height="57">&nbsp;</td>
              </tr>
        </table></td>
        </tr>
      <tr>
        <td height="300" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="245" height="300" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="245" height="300"><div align="center"><iframe width="240" height="290" src="http://www.youtube.com/embed/uEUdpeOjtxw" frameborder="0" allowfullscreen></iframe></div></td>
                  </tr>
            </table></td>
              <td width="23">&nbsp;</td>
          </tr>
          
          
        </table></td>
        </tr>
      <tr>
        <td height="13"></td>
      </tr>
      <tr>
        <td height="36" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="105" height="36" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="105" height="36"><div align="right">ยอดเงินของคุณ</div></td>
              </tr>
            </table>            </td>
            <td width="107" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="107" height="36"><div align="center">
                  <?=$objResult["Username"];?>
                </div></td>
              </tr>
            </table>
            </td>
            <td width="56">&nbsp;</td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td height="22">&nbsp;</td>
      </tr>
      
      
      
      
    </table></td>
    <td width="1"></td>
  </tr>
  
  
  <tr>
    <td height="50" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../Image/2.png">
      <!--DWLayoutTable-->
      <tr>
        <td width="695" height="50"><table width="695" height="50">
          <tr>
            <td width="103"><a href="../login/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','../Image/n2.png',1)"><img src="../Image/n1.png" name="Image1" width="103" height="33" border="0" id="Image1" /></a></td>
            <td width="201"><a href="../login/acss.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','../Image/l2.png',1)"><img src="../Image/l1.png" name="Image2" width="176" height="33" border="0" id="Image2" /></a></td>
            <td width="181"><a href="../login/bcss.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','../Image/b2.png',1)"><img src="../Image/b1.png" name="Image3" width="160" height="33" border="0" id="Image3" /></a></td>
            <td width="190"><a href="../login/ccss.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','../Image/a1.png',1)"><img src="../Image/a2.png" name="Image4" width="169" height="33" border="0" id="Image4" /></a></td>
          </tr>
        </table></td>
        </tr>
    </table></td>
    <td></td>
  </tr>
  <tr>
    <td rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="logyuo">
      <!--DWLayoutTable-->
      <tr>
        <td width="372" height="103"><p><a href="edit_profile.php"></a></p>
          <p><img src="../uplord/myfile/<?=$objResult["filesnam"];?>" /></p></td>
        <td width="282" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="282" height="16"></td>
          </tr>
          <tr>
            <td height="87" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="282" height="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="282" height="2"></td>
                          </tr>
                </table></td>
              </tr>
              <tr>
                <td height="78" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="64" height="30"><div align="center">ชื่อ</div></td>
                    <td width="120" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <!--DWLayoutTable-->
                      <tr>
                        <td width="65" height="30"><div align="center">
                          <?=$objResult["Name"];?>
                        </div></td>
                      </tr>
                    </table>
                    </td>
                    <td width="14">&nbsp;</td>
                    <td width="13" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <!--DWLayoutTable-->
                            <tr>
                              <td width="13" height="78">&nbsp;</td>
                            </tr>
                          </table>                          </td>
                          <td width="71" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="form1">
                            <!--DWLayoutTable-->
                            <tr>
                              <td width="71" height="78">
                                <label>                                  </label>
                             
                                <label></label>
                                <div align="center">
                                  <label><a href="../login/logout.php"><img src="../Image/lockout.png" width="65" height="71" border="0" /></a></label>
                                </div></td>
                            </tr>
                          </table>                          </td>
                  </tr>
                  <tr>
                    <td height="21" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <!--DWLayoutTable-->
                      <tr>
                        <td width="64" height="21"><div align="center"><a href="../uplord/PageUploadToMySQL4.php">Edit</a></div></td>
                        </tr>
                    </table></td>
                  <td><div align="center">เติมเงิน</div></td>
                  <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="27"><div align="center"><a href="../uplord/PageUploadToMySQL1.php">dsadsd</a></div></td>
                  <td><div align="center">
                    <?=$objResult["Username"];?>
                  </div></td>
                  <td>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="7"></td>
              </tr>
              
              
              
              
              
              
              
              
              
              
              
              
            </table>
            </td>
          </tr>
        </table>
        </td>
        <td width="41" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="41" height="187">&nbsp;</td>
          </tr>
          </table></td>
      </tr>
      <tr>
        <td height="84" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="654" height="84">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
      
      
      
      
      
      
      
      
      
      
      
    </table></td>
  <td height="186"></td>
  </tr>
  
  
  <tr>
    <td height="1"></td>
    <td></td>
  </tr>
  <tr>
    <td height="341" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="modal">
      <!--DWLayoutTable-->
      <tr>
        <td width="695" height="341">&nbsp;</td>
        </tr>
    </table></td>
    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="246" height="341">&nbsp;</td>
        <td width="22" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="23" height="341">&nbsp;</td>
              </tr>
        </table></td>
      </tr>
      
      
    </table></td>
    <td></td>
  </tr>
  
  
  <tr>
    <td height="392" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="chat">
      <!--DWLayoutTable-->
      <tr>
        <td height="7" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="695" height="7"></td>
              </tr>
        </table></td>
        </tr>
      <tr>
        <td width="10" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="10" height="385">&nbsp;</td>
              </tr>
        </table></td>
        <td width="639" height="379" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="639" height="379"><embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="639" height="379" name="chat" FlashVars="id=162961062" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /></td>
              </tr>
        </table></td>
        <td width="46"></td>
      </tr>
      <tr>
        <td height="6"></td>
        <td></td>
      </tr>
      
      
      
      
      
      
    </table></td>
    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="solri">
      <!--DWLayoutTable-->
      <tr>
        <td height="5" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td height="4"></td>
              </tr>
          <!--DWLayoutTable-->
          <tr>
            <td width="268" height="1"></td>
              </tr>
        </table></td>
        </tr>
      <tr>
        <td width="24" rowspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="24" height="387">&nbsp;</td>
              </tr>
        </table></td>
        <td width="196" height="168" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr>
            <td width="196" height="168">&nbsp;</td>
              </tr>
        </table></td>
        <td width="48">&nbsp;</td>
      </tr>
      <tr>
        <td height="38" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="196" height="38">&nbsp;</td>
            </tr>
        </table></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="173" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <!--DWLayoutTable-->
          <tr>
            <td width="196" height="173">&nbsp;</td>
              </tr>
        </table></td>
        <td></td>
      </tr>
      <tr>
        <td height="8"></td>
        <td></td>
      </tr>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </table></td>
    <td></td>
  </tr>
  
  
  <tr>
    <td height="838"><input type="file" name="filUpload" /><input type="hidden" name="hdnOldFile" value="<?=$objResult["filesnam"];?>">
      <input type="text" name="txtName" value="<?=$objResult["Name"];?>" />
      <img src="myfile/<?=$objResult["filesnam"];?>" />
      <input name="btnSubmit" type="submit" value="Submit" /></td>
    <td>&nbsp;</td>
    <td></td>
  </tr>
</table>
</form>
</body>
</html>





ประวัติการแก้ไข
2011-12-25 03:26:14
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-12-25 03:22:09 By : TRUEMONEYC1
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ผมไม่ผ่าน เป็นไรดูให้ทีคัฟ พอดี รูปที่เปลี่ยนมันก็ปกติแต่ทำไมขึ้นแบบนี้
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 02
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่