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 > php-mysql เรื่องการอัพรูปขึ้น host จริง ไม่ได้ครับ แต่อัพผ่าน localhost ทำได้



 

php-mysql เรื่องการอัพรูปขึ้น host จริง ไม่ได้ครับ แต่อัพผ่าน localhost ทำได้

 



Topic : 064376



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



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



พอดีไปโหลด ไฟล์ cart ที่แจกในกระทู้มาแล้ว ปรับแก้เกลือบหมดละ แต่ตอนเราลอง อัพรูปสินค้าใน localhost มันปกติ พอเอาขึ้น host มันอัพรูปไม่ขึ้นอะครับ จากกระทู้นี้ https://www.thaicreate.com/php/forum/021297.html#0 ของไฟล์ editproduct.php ที่อยู่ใน admin อะครับ ไม่รู้เพราะอะไรลองแก้มาเป็นอาทิตแล้ว ยังไม่ได้เลย !!!



Tag : PHP, CakePHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2011-08-07 12:56:24 By : tormam View : 15347 Reply : 39
 

 

No. 1



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



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

ผู้รู้ช่วยตอบทีนะครับ

ตรงไฟล์นี้ครับ editproduct.php ตอนลองรันใน localhost มัน อัพรูปได้แล้วเห็นรูปแต่พอเรา เอาขึ้น host จริงแล้ว อัพได้ แต่รูปไม่ขึ้น

Code (PHP)
<?
ob_start();
session_start();
if($_SESSION["adminlogin"]=="")
{
header('location:index.php');
exit();
}
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล 
require_once('../connect/connect.php');
require_once('../connect/function.php');

//=========== กรณีมีการแก้ไขรายการสินค้า
if($_GET["Action"]=="Save")
{
//=========== บันทึกข้อมูลสินค้า
$sql_up = "update product set ProductCode='$_POST[txtProductCode]', ProductName='$_POST[txtProductName]',Description='$_POST[txtDescription]', Price='$_POST[txtPrice]',PriceNormal='$_POST[txtPriceNormal]', PriceSend='$_POST[txtPriceSend]',Stock='$_POST[txtStock]', Promotion='$_POST[rdoPromotion]',New='$_POST[rdoNew]' where ProductID='$_GET[ProductID]'";
$dbquery_up = mysql_query($sql_up);
//echo $sql_up;
// exit();
//=========== แก้ไขไฟล์เล็ก
if(!empty($file))
{
$path="../picture";	
//=========== อัพโหลตไฟลืเล็ก
@copy( $file ,"$path/$file_name");
$sql_up = "update product set Picture='$file_name' where ProductID='$_GET[ProductID]'";
$dbquery_up = mysql_query($sql_up);
}


echo"<script language='JavaScript'>";
echo"alert('แก้ไขข้อมูลเรียบร้อยแล้ว');";
echo"window.location='editproduct.php?ProductID=$_GET[ProductID]';";
echo"</script>";	
}

?>
<html>
<title>..:: ระบบจัดการฐานข้อมูล ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../css/styles.css" type="text/css">
<script language="JavaScript" src="editor.js"></script>
<div align="center"><br>
<?
//=========== อ่านว่าคือสินค้าชนิดใด
$result=select("product","where 1=1 and ProductID='".$_GET["ProductID"]."'");
if(!$result)
{
header("location:product.php");
}

?>
<table cellspacing=1 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
<tbody>
<tr bgcolor=#e5e5e5> 
<td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
<table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
<tbody>
<tr bgcolor=#e5e5e5> 
<td width="35%" bgcolor="#FFFFFF"> <div align="left"><b><img src="../image/allrowto.gif" width="11" height="11" align="absbottom"> 
แก้ไขรายการสินค้า</b></div></td>
<td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
</div></td>
<td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
</div>

<form name="frm<?=$i;?>" method="post" action="<?=$_SERVER['PHP_SELF'];?>?ProductID=<?=$_GET["ProductID"];?>&Action=Save" enctype="multipart/form-data" onSubmit="return checkvalue()">
<table cellspacing=1 cellpadding=3 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
<tbody>
<tr bgcolor=#e5e5e5> 
<td width="31" bgcolor="#FFFFFF"> <script language="Javascript1.2"><!-- // load htmlarea
_editor_url = ""; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>'); 
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script> 
<script language="JavaScript">
function checkvalue()
{

if(parseInt(document.all.txtPrice.value) >= parseInt(document.all.txtPriceNormal.value))
{
alert('ราคาพิเศษจะต้องน้อยกว่ากว่าราคาปกติ');
document.all.txtPrice.focus();
return false;
}else
{ return true; }

}
</script>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr> 
<td width="18%">&nbsp;</td>
<td width="82%">&nbsp;</td>
</tr>
<tr> 
<td valign="top">รหัสสินค้า <font color="#FF0000">** </font></td>
<td><input name="txtProductCode" type="text" class="txtbox" id="txtProductCode" value="<?=$result["ProductCode"];?>" maxlength="20" readonly="true"> 
</td>
</tr>
<tr> 
<td valign="top">สินค้าโปรโมชั่น <font color="#FF0000">** </font></td>
<td><input name="rdoPromotion" type="radio" value="Yes" <? if($result["Promotion"]=="Yes"){?>checked<?}?>>
ใช่ 
<input type="radio" name="rdoPromotion" value="No" <? if($result["Promotion"]=="No"){?>checked<?}?>>
ไม่ใช่</td>
</tr>
<tr> 
<td valign="top">สินค้าใหม่ <font color="#FF0000">** </font></td>
<td><input name="rdoNew" type="radio" value="Yes" <? if($result["New"]=="Yes"){?>checked<?}?>>
ใช่ 
<input type="radio" name="rdoNew" value="No" <? if($result["New"]=="No"){?>checked<?}?>>
ไม่ใช่</td>
</tr>
<tr> 
<td valign="top">ชื่อสินค้า <font color="#FF0000">** </font></td>
<td><input name="txtProductName" type="text" class="txtbox" id="txtProductName" style="width:550" value="<?=$result["ProductName"];?>" maxlength="100"></td>
</tr>
<tr> 
<td valign="top">ราคาปกติ <font color="#FF0000">** </font></td>
<td><input name="txtPriceNormal" type="text" class="txtbox" id="txtPriceNormal" value="<?=$result["PriceNormal"];?>" size="10" maxlength="20">
บาท </td>
</tr>
<tr> 
<td valign="top">ราคาพิเศษ <font color="#FF0000">** </font></td>
<td><input name="txtPrice" type="text" class="txtbox" id="txtPrice" value="<?=$result["Price"];?>" size="10" maxlength="20">
บาท </td>
</tr>
<tr>
<td valign="top">ค่าจัดส่ง</td>
<td><input name="txtPriceSend" type="text" class="txtbox" id="txtPriceSend" value="<?=$result["PriceSend"];?>" size="10" maxlength="20">
บาท </td>
</tr>
<tr> 
<td valign="top">สำนวนสต็อก <font color="#FF0000">** </font></td>
<td><input name="txtStock" type="text" class="txtbox" id="txtStock" value="<?=$result["Stock"];?>" size="10" maxlength="20"></td>
</tr>
<tr> 
<td valign="top">รูปภาพ <font color="#FF0000">** </font></td>
<td><img src="../picture/<?=$result["Picture"];?>" /></td>
</tr>
<tr> 
<td valign="top">&nbsp;</td>
<td><input name="file" type="file" class="txtbox" id="file"><INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="100000"></td>
</tr>
<tr> 
<td valign="top">รายละเอียด <font color="#FF0000">** </font></td>
<td><textarea name="txtDescription" cols="40" rows="10" class="txtbox" id="txtDescription" style="width:550; height:450"><?=$result["Description"];?></textarea> 
<script language="javascript1.2">
editor_generate('txtDescription');
</script> &nbsp;</td>
</tr>
<tr> 
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>


<td><input name="Submit" type="submit" class="button" value="บันทึก"> 
<input name="Cancel" type="button" class="button" id="Cancel" value="ยกเลิก" onClick="window.location='product.php?CatID=<?=$result["CatID"];?>';"></td>
</tr>
<tr> 
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr> 
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>

</tbody>
</table>
<table cellspacing=0 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
<tbody>
<tr bgcolor=#e5e5e5> 
<td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
<table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
<tbody>
<tr bgcolor=#e5e5e5> 
<td width="35%" bgcolor="#FFFFFF"> <div align="left"></div></td>
<td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
</div></td>
<td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
</form>







แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 12:58:33 By : tormam
 


 

No. 2



โพสกระทู้ ( 11,835 )
บทความ ( 10 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

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


จำไว้ครับว่า ถ้าบนเครื่องเราทำงานด้านอัปโหลดไม่ได้ ให้สันนิษฐานไว้ว่าติดสองอย่าง
1. ติด permission
2. path ผิด
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 13:11:22 By : ikikkok
 

 

No. 3



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



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

permission ผมก็แก้เป็น 777 แล้วนะครับ ก็ไม่ได้ข้อมูลอย่างอื่นมันลง ฐานข้อมูล หมด ยกเว้น ภาพ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 13:30:22 By : tormam
 


 

No. 4



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

สมาชิกที่ใส่เสื้อไทยครีเอท

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

Code (PHP)
 if($_GET["Action"]=="Save")
{
$file_name = $HTTP_POST_FILES['file']['name']; // เพิ่มบรรทัดนี้เข้าไป

ส่วน ค่าที่จะใส่ลงไปในฐานข้อมูล ใช้ใส่ค่า $file_name เข้าไปครับ เช่น
Code (PHP)
update tb_pic set picname='$file_name';

ค่าที่มันจะไปเก็บจะเป็นชื่อภาพครับ

แก้ตรง @copy( $file ,"$path/$file_name"); เป็น

Code (PHP)
copy($HTTP_POST_FILES['file']['tmp_name'],$path."/$file_name");  


ลองดูครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 13:50:52 By : slurpee55555
 


 

No. 5



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



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

คุณ เบส ครับ ขอถามว่า บรร ทัดนี้ ตรงแก้ใส่ตรงไหน อะ

ส่วน ค่าที่จะใส่ลงไปในฐานข้อมูล ใช้ใส่ค่า $file_name เข้าไปครับ เช่น
Code (PHP)
1. update tb_pic set picname='$file_name';


ขอบคุณล่วงหน้านะครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 14:01:58 By : tormam
 


 

No. 6



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



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

ออ เข้าใจละครับ เดียวลองอีกที
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 14:07:03 By : tormam
 


 

No. 7



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



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

คุณ เบส ครับ ตอนนี้ ชื่อเข้าไปแล้ว แต่รูปไม่เก็บอีกแล้ว ตอนแรกรูปเก็บ ชื่อไมเก็บ งง

โค้ดที่แก้

Code (PHP)
<?
ob_start();
session_start();
if($_SESSION["adminlogin"]=="")
{
header('location:index.php');
exit();
}
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล 
require_once('../connect/connect.php');
require_once('../connect/function.php');

//=========== กรณีมีการแก้ไขรายการสินค้า
                       if($_GET["Action"]=="Save")
	                   {
					   $file_name = $HTTP_POST_FILES['file']['name'];
						   //===========  บันทึกข้อมูลสินค้า
	                  $sql_up = "update product set  Picture='$file_name',ProductCode='$_POST[txtProductCode]', ProductName='$_POST[txtProductName]',Description='$_POST[txtDescription]', Price='$_POST[txtPrice]',PriceNormal='$_POST[txtPriceNormal]', PriceSend='$_POST[txtPriceSend]',Stock='$_POST[txtStock]',Promotion='$_POST[rdoPromotion]',New='$_POST[rdoNew]' where ProductID='$_GET[ProductID]'";
                      $dbquery_up = mysql_query($sql_up);
					  //echo $sql_up;
					//  exit();
					//===========  แก้ไขไฟล์เล็ก
					                   	if(!empty($file))
                                             {
														$path="../picture";								
														//=========== อัพโหลตไฟลืเล็ก
                                                        copy($HTTP_POST_FILES['file']['tmp_name'],$path."/$file_name");
                                                       $sql_update = "update product set Picture='$file_name' where ProductID='$_GET[ProductID]'";
                                                       $dbquery_update = mysql_query($sql_update);
								 			 }
										 
					  
									echo"<script language='JavaScript'>";
									echo"alert('แก้ไขข้อมูลเรียบร้อยแล้ว');";
									echo"window.location='editproduct.php?ProductID=$_GET[ProductID]';";
									echo"</script>";					  
			 		  }
					  
?>
<html>
<title>..:: ระบบจัดการฐานข้อมูล ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../css/styles.css" type="text/css">
<script language="JavaScript" src="editor.js"></script>
<div align="center"><br>
<?
//===========  อ่านว่าคือสินค้าชนิดใด
$result=select("product","where 1=1 and ProductID='".$_GET["ProductID"]."'");
if(!$result)
{
header("location:product.php");
}

?>
  <table cellspacing=1 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
          <table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
            <tbody>
              <tr bgcolor=#e5e5e5> 
                <td width="35%" bgcolor="#FFFFFF"> <div align="left"><b><img src="../image/allrowto.gif" width="11" height="11" align="absbottom"> 
                    แก้ไขรายการสินค้า</b></div></td>
                <td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
                  </div></td>
                <td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
    </tbody>
  </table>
</div>

<form name="frm<?=$i;?>" method="post" action="<?=$_SERVER['PHP_SELF'];?>?ProductID=<?=$_GET["ProductID"];?>&Action=Save" enctype="multipart/form-data" onSubmit="return checkvalue()">
  <table cellspacing=1 cellpadding=3 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="31" bgcolor="#FFFFFF"> <script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
  document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
  document.write(' language="Javascript1.2"></scr' + 'ipt>');  
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script> 
<script language="JavaScript">
function checkvalue()
{

		if(parseInt(document.all.txtPrice.value) >= parseInt(document.all.txtPriceNormal.value))
		{
		alert('ราคาพิเศษจะต้องน้อยกว่ากว่าราคาปกติ');
		document.all.txtPrice.focus();
		return false;
		}else
		{ return true; }

}
</script>
          <table width="100%" border="0" cellspacing="2" cellpadding="2">
            <tr> 
              <td width="18%">&nbsp;</td>
              <td width="82%">&nbsp;</td>
            </tr>
            <tr> 
              <td valign="top">รหัสสินค้า <font color="#FF0000">** </font></td>
              <td><input name="txtProductCode" type="text" class="txtbox" id="txtProductCode" value="<?=$result["ProductCode"];?>" maxlength="20" readonly="true"> 
              </td>
            </tr>
            <tr> 
              <td valign="top">สินค้าโปรโมชั่น <font color="#FF0000">** </font></td>
              <td><input name="rdoPromotion" type="radio" value="Yes" <? if($result["Promotion"]=="Yes"){?>checked<?}?>>
                ใช่ 
                <input type="radio" name="rdoPromotion" value="No" <? if($result["Promotion"]=="No"){?>checked<?}?>>
                ไม่ใช่</td>
            </tr>
            <tr> 
              <td valign="top">สินค้าใหม่ <font color="#FF0000">** </font></td>
              <td><input name="rdoNew" type="radio" value="Yes" <? if($result["New"]=="Yes"){?>checked<?}?>>
                ใช่ 
                <input type="radio" name="rdoNew" value="No" <? if($result["New"]=="No"){?>checked<?}?>>
                ไม่ใช่</td>
            </tr>
            <tr> 
              <td valign="top">ชื่อสินค้า <font color="#FF0000">** </font></td>
              <td><input name="txtProductName" type="text" class="txtbox" id="txtProductName" style="width:550" value="<?=$result["ProductName"];?>" maxlength="100"></td>
            </tr>
            <tr> 
              <td valign="top">ราคาปกติ <font color="#FF0000">** </font></td>
              <td><input name="txtPriceNormal" type="text" class="txtbox" id="txtPriceNormal" value="<?=$result["PriceNormal"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr> 
              <td valign="top">ราคาพิเศษ <font color="#FF0000">** </font></td>
              <td><input name="txtPrice" type="text" class="txtbox" id="txtPrice" value="<?=$result["Price"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr>
              <td valign="top">ค่าจัดส่ง</td>
              <td><input name="txtPriceSend" type="text" class="txtbox" id="txtPriceSend" value="<?=$result["PriceSend"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr> 
              <td valign="top">สำนวนสต็อก <font color="#FF0000">** </font></td>
              <td><input name="txtStock" type="text" class="txtbox" id="txtStock" value="<?=$result["Stock"];?>" size="10" maxlength="20"></td>
            </tr>
            <tr> 
              <td valign="top">รูปภาพ <font color="#FF0000">** </font></td>
              <td><img src="../picture/<?=$result["Picture"];?>" /></td>
            </tr>
            <tr> 
              <td valign="top">&nbsp;</td>
              <td><input name="file" type="file" class="txtbox" id="file"></td>
            </tr>
            <tr> 
              <td valign="top">รายละเอียด <font color="#FF0000">** </font></td>
              <td><textarea name="txtDescription" cols="40" rows="10" class="txtbox" id="txtDescription" style="width:550; height:450"><?=$result["Description"];?></textarea> 
                <script language="javascript1.2">
editor_generate('txtDescription');
</script> &nbsp;</td>
            </tr>
            <tr> 
              <td>;</td>
              <td><input name="Submit" type="submit" class="button" value="บันทึก"> 
                <input name="Cancel" type="button" class="button" id="Cancel" value="ยกเลิก" onClick="window.location='product.php?CatID=<?=$result["CatID"];?>';"></td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table></td>
      </tr>
  
    </tbody>
  </table>
  <table cellspacing=0 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
          <table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
            <tbody>
              <tr bgcolor=#e5e5e5> 
                <td width="35%" bgcolor="#FFFFFF"> <div align="left"></div></td>
                <td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
                  </div></td>
                <td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
    </tbody>
  </table>
</form>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 14:34:00 By : tormam
 


 

No. 8



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

สมาชิกที่ใส่เสื้อไทยครีเอท

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

ลองแก้
Code (PHP)
copy($HTTP_POST_FILES['file']['tmp_name'],$path."/$file_name");

เป็น
Code (PHP)
copy($HTTP_POST_FILES['file']['tmp_name'],"$path/$file_name");

ลองดูครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 18:31:10 By : slurpee55555
 


 

No. 9



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



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

เหมือนเดิมครับพี่ เบส มันลงได้แค่ใน localhost แต่ host จริงไม่ลง
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 19:53:09 By : tormam
 


 

No. 10



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

สมาชิกที่ใส่เสื้อไทยครีเอท

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

ไม่เข้าใช่ปะครับ มันขึ้น error ปะครับ ปกติถ้าไม่มี Folder หรือ ไม่ได้ set permission มันก็จะแจ้ง error
ไม่งั้น set permission Folder picture เป็น 777 รวมไปถึง Folder ก่อน Folder picture เช่น
Folder picture อยู่ใน Folder public_html
ก็ set ตั้งแต่ Folder public_html ให้เป็น 777 แล้วก็ set Folder picture ให้เป็น 777
ไม่ทราบว่า Folder picture มีแล้วใช้ปะครับ ถ้ามีแล้ว ใน Folder picture ต้องมีไฟล์ thumbs.db ด้วยครับ
thumbs
สร้างมาเองเลยครับให้เหมือนแบบนี้เลย แล้วลองดูครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 20:59:21 By : slurpee55555
 


 

No. 11



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



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

ออ ต้องมีตัวนี้หรอครับ เดียวลองครับพี่
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 21:12:31 By : tormam
 


 

No. 12



โพสกระทู้ ( 11,835 )
บทความ ( 10 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

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


ตอบความคิดเห็นที่ : 10 เขียนโดย : slurpee55555 เมื่อวันที่ 2011-08-07 20:59:21
รายละเอียดของการตอบ ::
ไม่จำเป็นต้องมีครับ เช็คเรื่อง permission และ path ให้ถูกต้อง แค่นี้จริงๆ ไม่มีอะไรมากกว่านี้ นอกจาะจะใช้ hosting ที่เป็น windows อันนั้นต้อง set permission จาก control panel ของ Hosting ที่ให้มา

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 21:34:37 By : ikikkok
 


 

No. 13



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



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

ผมก็ว่ามันไม่น่ามีปัญหาละนะคับ แต่ มันลงไม่ได้จริงๆ อะครับ พี่ๆ
Code (PHP)
<?
ob_start();
session_start();
if($_SESSION["adminlogin"]=="")
{
header('location:index.php');
exit();
}
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล 
require_once('../connect/connect.php');
require_once('../connect/function.php');

//=========== กรณีมีการแก้ไขรายการสินค้า
                       if($_GET["Action"]=="Save")
	                   {
					   $file_name = $HTTP_POST_FILES['file']['name'];
						   //===========  บันทึกข้อมูลสินค้า
	                  $sql_up = "update product set  Picture='$file_name',ProductCode='$_POST[txtProductCode]', ProductName='$_POST[txtProductName]',Description='$_POST[txtDescription]', Price='$_POST[txtPrice]',PriceNormal='$_POST[txtPriceNormal]', PriceSend='$_POST[txtPriceSend]',Stock='$_POST[txtStock]', Promotion='$_POST[rdoPromotion]',New='$_POST[rdoNew]' where ProductID='$_GET[ProductID]'";
                      $dbquery_up = mysql_query($sql_up);
					  //echo $sql_up;
					//  exit();
					//===========  แก้ไขไฟล์เล็ก
					                   	if(!empty($file))
                                             {
														$path="../picture";								
														//=========== อัพโหลตไฟลืเล็ก
                                                        copy($HTTP_POST_FILES['file']['tmp_name'],"$path/$file_name");
                                                       $sql_update = "update product set Picture='$file_name' where ProductID='$_GET[ProductID]'";
                                                       $dbquery_update = mysql_query($sql_update);
								 			 }
										 
					  
									echo"<script language='JavaScript'>";
									echo"alert('แก้ไขข้อมูลเรียบร้อยแล้ว');";
									echo"window.location='editproduct.php?ProductID=$_GET[ProductID]';";
									echo"</script>";					  
			 		  }
					  
?>
<html>
<title>..:: ระบบจัดการฐานข้อมูล ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../css/styles.css" type="text/css">
<script language="JavaScript" src="editor.js"></script>
<div align="center"><br>
<?
//===========  อ่านว่าคือสินค้าชนิดใด
$result=select("product","where 1=1 and ProductID='".$_GET["ProductID"]."'");
if(!$result)
{
header("location:product.php");
}

?>
  <table cellspacing=1 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
          <table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
            <tbody>
              <tr bgcolor=#e5e5e5> 
                <td width="35%" bgcolor="#FFFFFF"> <div align="left"><b><img src="../image/allrowto.gif" width="11" height="11" align="absbottom"> 
                    แก้ไขรายการสินค้า</b></div></td>
                <td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
                  </div></td>
                <td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
    </tbody>
  </table>
</div>

<form name="frm<?=$i;?>" method="post" action="<?=$_SERVER['PHP_SELF'];?>?ProductID=<?=$_GET["ProductID"];?>&Action=Save" enctype="multipart/form-data" onSubmit="return checkvalue()">
  <table cellspacing=1 cellpadding=3 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="31" bgcolor="#FFFFFF"> <script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
  document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
  document.write(' language="Javascript1.2"></scr' + 'ipt>');  
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script> 
<script language="JavaScript">
function checkvalue()
{

		if(parseInt(document.all.txtPrice.value) >= parseInt(document.all.txtPriceNormal.value))
		{
		alert('ราคาพิเศษจะต้องน้อยกว่ากว่าราคาปกติ');
		document.all.txtPrice.focus();
		return false;
		}else
		{ return true; }

}
</script>
          <table width="100%" border="0" cellspacing="2" cellpadding="2">
            <tr> 
              <td width="18%">&nbsp;</td>
              <td width="82%">&nbsp;</td>
            </tr>
            <tr> 
              <td valign="top">รหัสสินค้า <font color="#FF0000">** </font></td>
              <td><input name="txtProductCode" type="text" class="txtbox" id="txtProductCode" value="<?=$result["ProductCode"];?>" maxlength="20" readonly="true"> 
              </td>
            </tr>
            <tr> 
              <td valign="top">สินค้าโปรโมชั่น <font color="#FF0000">** </font></td>
              <td><input name="rdoPromotion" type="radio" value="Yes" <? if($result["Promotion"]=="Yes"){?>checked<?}?>>
                ใช่ 
                <input type="radio" name="rdoPromotion" value="No" <? if($result["Promotion"]=="No"){?>checked<?}?>>
                ไม่ใช่</td>
            </tr>
            <tr> 
              <td valign="top">สินค้าใหม่ <font color="#FF0000">** </font></td>
              <td><input name="rdoNew" type="radio" value="Yes" <? if($result["New"]=="Yes"){?>checked<?}?>>
                ใช่ 
                <input type="radio" name="rdoNew" value="No" <? if($result["New"]=="No"){?>checked<?}?>>
                ไม่ใช่</td>
            </tr>
            <tr> 
              <td valign="top">ชื่อสินค้า <font color="#FF0000">** </font></td>
              <td><input name="txtProductName" type="text" class="txtbox" id="txtProductName" style="width:550" value="<?=$result["ProductName"];?>" maxlength="100"></td>
            </tr>
            <tr> 
              <td valign="top">ราคาปกติ <font color="#FF0000">** </font></td>
              <td><input name="txtPriceNormal" type="text" class="txtbox" id="txtPriceNormal" value="<?=$result["PriceNormal"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr> 
              <td valign="top">ราคาพิเศษ <font color="#FF0000">** </font></td>
              <td><input name="txtPrice" type="text" class="txtbox" id="txtPrice" value="<?=$result["Price"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr>
              <td valign="top">ค่าจัดส่ง</td>
              <td><input name="txtPriceSend" type="text" class="txtbox" id="txtPriceSend" value="<?=$result["PriceSend"];?>" size="10" maxlength="20">
                บาท </td>
            </tr>
            <tr> 
              <td valign="top">สำนวนสต็อก <font color="#FF0000">** </font></td>
              <td><input name="txtStock" type="text" class="txtbox" id="txtStock" value="<?=$result["Stock"];?>" size="10" maxlength="20"></td>
            </tr>
            <tr> 
              <td valign="top">รูปภาพ <font color="#FF0000">** </font></td>
              <td><img src="../picture/<?=$result["Picture"];?>" /></td>
            </tr>
            <tr> 
              <td valign="top">&nbsp;</td>
              <td><input name="file" type="file" class="txtbox" id="file"></td>
            </tr>
            <tr> 
              <td valign="top">รายละเอียด <font color="#FF0000">** </font></td>
              <td><textarea name="txtDescription" cols="40" rows="10" class="txtbox" id="txtDescription" style="width:550; height:450"><?=$result["Description"];?></textarea> 
                <script language="javascript1.2">
editor_generate('txtDescription');
</script> &nbsp;</td>
            </tr>
            <tr> 
              <td></td>
              <td><input name="Submit" type="submit" class="button" value="บันทึก"> 
                <input name="Cancel" type="button" class="button" id="Cancel" value="ยกเลิก" onClick="window.location='product.php?CatID=<?=$result["CatID"];?>';"></td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr> 
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table></td>
      </tr>
  
    </tbody>
  </table>
  <table cellspacing=0 cellpadding=4 width="68%" bgcolor=#CCCCCC border=0 align="center" height="10">
    <tbody>
      <tr bgcolor=#e5e5e5> 
        <td width="100%" bgcolor="#FFFFFF"> <div align="center"></div>
          <table cellspacing=1 cellpadding=4 width="100%" border=0 align="center" height="10">
            <tbody>
              <tr bgcolor=#e5e5e5> 
                <td width="35%" bgcolor="#FFFFFF"> <div align="left"></div></td>
                <td width="22%" align=middle bgcolor="#FFFFFF"> <div align="left"> 
                  </div></td>
                <td width="43%" bgcolor="#FFFFFF"> <div align="right"><a href="product.php?CatID=<?=$result["CatID"];?>">กลับไป</a></div></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
    </tbody>
  </table>
</form>



แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-07 23:04:15 By : tormam
 


 

No. 14



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



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

แต่โค้ดที่แก้ ถ้าผมเอารูปไปไว้ใน ไฟล์รูปภาพก่อนมันจะอัพได้แล้วโชว์รูป ครับ แต่ไม่มีรูปนั้นๆ เข้าไปก่อนจะไม่สามารถอัพได้
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-08 09:36:08 By : tormam
 


 

No. 15



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



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

พิมผิดไปทีอะคับ ขอบคุณมากๆ คุณ เบส และ PlaKriM
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-09 08:37:54 By : tormam
 


 

No. 16



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

สมาชิกที่ใส่เสื้อไทยครีเอท

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

ลอง เปลี่ยน
Code (PHP)
if(!empty($file))
{


เป็น

Code (PHP)
if(!empty($dbquery_up))
{


ลองดูครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-12 10:36:38 By : slurpee55555
 


 

No. 17



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



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

ไม่ได้อยู่ดีอะครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-14 17:30:26 By : tormam
 


 

No. 18



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



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

พี่ เบส ช่วยดู ลิงค์นี้หน่อยได้ไหมครับ https://www.thaicreate.com/php/forum/064688.html
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-14 17:32:05 By : tormam
 


 

No. 19

Guest


เกี่ยวกับต้องไปติกใน ไฟล์ host ที่เราจะอัพให้เป็น Write ด้วยหรือเปล่า ถ้าปกติมันจะเป็น Read อย่างเดียว
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-15 14:27:26 By : myspoly
 


 

No. 20



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

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

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

cmod 777 ที่โฟลเดอร์เก็บรูปแล้วหรือยังครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-15 15:37:44 By : Dragons_first
 


 

No. 21



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



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

777 แล้วคับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-18 20:14:28 By : tormam
 


 

No. 22



โพสกระทู้ ( 4,720 )
บทความ ( 8 )



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


Code (PHP)
$HTTP_POST_FILES['file']

ควรใช้
Code (PHP)
$_FILES['file']



...


Code (PHP)
copy(...);

ควรใช้
Code (PHP)
move_uploaded_file(...)

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-18 20:22:33 By : mr.v
 


 

No. 23



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



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

เดียวลองดูคับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:10:50 By : tormam
 


 

No. 24



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



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

ไม่ได้ อ่า มันต้อง เอาไปไว้ก่อนจริงๆมั้ง
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:17:59 By : tormam
 


 

No. 25



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



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

ไม่เห็นมีใครพูดถึงไฟล์ connect.php เลยครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:25:02 By : demonking
 


 

No. 26



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

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

เห็นกระทู้ หลายวันแล้ว ตกลงยังไม่ได้เหรอครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:38:44 By : webmaster
 


 

No. 27



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



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

connect.php ทำไมหรอครับ รู้สึกว่าจะเป็น ตัวติดต่อฐานข้อมูล อะครับ ว่าแต่ ติดตรงไหน ของ connect.php
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:40:38 By : tormam
 


 

No. 28



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



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

ออ พี่วินคับ คือว่า ตอนนี้มันอัพ รูปได้ แต่ ผมต้องเอารูปไปปไว้ใน โฟรเดอร์ ที่ host ก่อนอะครับ มันถึงจะอัพสำเร็จ เพราะถ้าไม่เอารูปไปไว้ก่อนมันไม่เอารูปไปเก็บ ในโฟรเดอร์ให้เราอะครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-19 20:42:19 By : tormam
 


 

No. 29

Guest


เขียนเองขึ้นมาใหม่เลย..........นั่งแกะ อยากจะตาย....ให้พี่ๆเขาเขียนตัวอย่างให้ดูก่ะได้ (คนพุดเขียนไม่เป็นนะ อิอิ)
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-08-27 16:57:51 By : เค้ก
 


 

No. 30

Guest


จากประสบการณ์นะครับ ไม่รู้ว่าตอนนี้แก้ได้แล้วยัง

น่าจะติดที่ .htaccess ครับ ลองดู ๆ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-12-15 15:33:05 By : kwangkung
 


 

No. 31

Guest


อัพจากเพจ รูปไม่ไปโผล่ที่ ฐานข้อมูล ?

หรือ

อัพรูปไปอยู่ในฐานข้อมูลแล้ว แต่ไม่แสดงภาพในหน้าเพจที่เรากำหนด ?
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-01-05 20:18:47 By : บูม
 


 

No. 32

Guest


พอดีผมก็เป็นเหมือนกันอ่ะคัฟ อัพรูปไม่ขึ้นเหมือนกัน เอาไว้ผมทำได้เมื่อไหร่จะเอามาแชร์นะคัฟ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-02-15 17:51:25 By : Jame_Cameron
 


 

No. 33



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



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


ตอบความคิดเห็นที่ : 22 เขียนโดย : mr.v เมื่อวันที่ 2011-08-18 20:22:33
รายละเอียดของการตอบ ::
ลองแก้ตามนี้ ใช้งานได้จริงครับ ผมมาช้าไป เผื่อไว้สำหรับคนมาใหม่ครับ

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-02 02:13:04 By : moobin29
 


 

No. 34



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



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

ขอบคุณครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-02-20 01:01:42 By : popfanta
 


 

No. 35

Guest


I have the problem like you if you can fix it please tell me.

Thanks
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-07-19 23:35:48 By : bouasone
 


 

No. 36

Guest


thank you
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2014-01-20 15:08:38 By : notkung
 


 

No. 37

Guest


อยากทราบว่าพี่เจ้าของกระทู้ทำได้รึยังคะ พอดีเป็นเหมือนของพี่เลย พี่ช่วยบอกวิธีแก้ให้หน่อยได้ไหม่คะ T T
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2015-06-27 00:58:16 By : praeww
 


 

No. 38



โพสกระทู้ ( 9,559 )
บทความ ( 2 )



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


อ่านความเห็น 2 และ 22 ครับ ส่วนใหญ่ก็มีปํญหาแค่นั้น
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2015-06-27 08:22:18 By : Chaidhanan
 


 

No. 39



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



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


แบบที่พี่ PlaKriM บอกครับผมเขียนใหม่ก็ไม่ได้ โฮสคนละโฮสบางโฮสก็ได้ บางโฮสก็ไมได้ แบบที่พี่เค้าบอกเลย แค่นั้นจบ
set permission Folder picture เป็น 777 (โฟเดอร์ที่เก็บรูป)
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2016-06-21 22:00:08 By : lnwqwerty
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : php-mysql เรื่องการอัพรูปขึ้น host จริง ไม่ได้ครับ แต่อัพผ่าน localhost ทำได้
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ 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 04
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 อัตราราคา คลิกที่นี่