Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ewebeditor±à¼­Æ÷ǶÈëµ½PHPÍøÒ³ÖÐ

/*
>>>  Title    : Ewebeditor±à¼­Æ÷ǶÈëµ½PHPÍøÒ³ÖÐ
>>> Author: Áõ³¿êÍ 
>>> Date   : 2009-07-05
>>> EMAIL :
huichengongzi@gmail.com
>>> תÔØÇë×¢Ã÷³ö´¦£¬Ð»Ð»ºÏ×÷£¡
*/
£¨1£©ÔÚ
</head>
֮ǰ¼ÓÉÏÏÂÃæÒ»¶Î´úÂ룺£¨µÃµ½
ewebeditor
Öб༭µÄÄÚÈÝ£©
<script>
function checkForm()
{
      
      
document.form1.content
.value
= window.ewebeditor
.getHTML(); 
             
************getHTML()  
»ñµÃ±à¼­ÇøÄÚÈÝ
 
      
   
************
´Ë´¦µÄÃû×Ö
ewebeditor
ÒªÓë
iframe
ÖеÄ
name="ewebeditor"
Ïàͬ
             
************content.value
Ò²ÒªÓë
content
ÖеÄ
<input >
ÖÐÏà¶ÔÓ¦
}
</script>
£¨2£©ÏÂÃæÒ»¶Î´úÂëÊÇ°Ñ
ewebeditor
ǶÈëµ½ÍøÒ³ÖУº
      
<tr>
      
<td
align="right" width="5%" >
ÄÚÈÝ£º
</td>
      
<td
width="95%">
             
<input
type="hidden" name="content"
id="content"
value
="">      
                    
**********id="content"
ÖеÄ
content
ÒªÓë
<iframe>
ÖеÄ
id=content
Ïàͬ£¡
   
      
<iframe id="ewebeditor" name="ewebeditor"
src="ewebeditor/ewebeditor.php?id=content
" frameborder="0"
scrolling="no" width="100%"


Ïà¹ØÎĵµ£º

PHPºÍJAVA¿ª·¢µÄOAÐÔÄܱȽÏ

ÏÖÔÚ»¹ÓкܶàÈ˸㲻¶®PHPºÍJAVA¿ª·¢µÄЭͬOAµ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌصãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄЭͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
         »ªÌ춯Á¦Ð­Í¬OAÊDzÉÓÃJAVA¼¼ÊõµÄµäÐÍ´ú±í£¬²¢¾ßÓÐһϵÁÐÓÅ»¯É ......

PHP 5.3ÖеÄÐÂÌØÐÔ

×÷Õß ³ÂºÆ £¨Haohappy£©
MSN: haohappy # php.net
2009-08-13
 
±¾ÎÄ¿¯ÓÚ¡¶³ÌÐòÔ±¡·ÔÓÖ¾ 2009.09
תÔØÇë×¢Ã÷×÷Õß¼°³ö´¦
 
ºÁÎÞÒÉÎÊ£¬Èç½ñPHPÒѾ­³ÉΪWEB¿ª·½µ±ÖÐ×îÈÈÃŵļ¼ÊõÖ®Ò»¡£¸ù¾Ýnexen.netµÄµ÷²é£¬»¥ÁªÍøÉÏÈý·ÖÖ®Ò»µÄÍøվѡÔñPHPÀ´¿ª·¢·þÎñÆ÷¶Ë³ÌÐò¡£ÔÚÅ·ÃÀºÍÈÕ±¾µÈ¹ú¼Ò£¬PHP¿ª·¢Êг¡³ÊÏÖ³öһƬÐÀÐ ......

Apache+MySQL+PHP»·¾³ÅäÖÃ

°æ±¾£ºapache_2.2.6-win32-x86-no_ssl
Ö±½Ó°´Ä¬ÈÏ°²×°£¬°²×°Ê±Òª¹Ø±Õä¯ÀÀÆ÷¸úÏÂÔØÈí¼þ£¬·ñÔò°²×°Íê³Éºó·þÎñÆ÷²»ÄÜÆô¶¯£¬±¨²»ÄÜ°ó¶¨80¶Ë¿ÚµÄ´íÎó¡£Æô¶¯ºóÔÚµØÖ·À¸ÖÐÊäÈë“http://localcast/”»ò“http://127.0.0.1/”£¬Èç¹û¿ÉÒÔ¿´µ½"It Works"£¬ËµÃ÷°²×°³É¹¦¡£
Èç¹ûÐèÒª¸ü¸ÄĬÈÏ·¾¶£¬´ò¿ª“C:\P ......

ÖØȼÄãµÄPHP°²È«Ö®»ð

¶ÔÓڽű¾°²È«Õâ¸ö»°ÌâºÃÏñÓÀԶûÍêûÁË£¬Èç¹ûÄã¾­³£µ½¹úÍâµÄ¸÷ÖÖ¸÷ÑùµÄbugtraqÉÏ£¬Äã»á·¢ÏÖÓÐÒ»°ëÒÔÉ϶¼ºÍ½Å±¾Ïà¹Ø£¬ÖîÈçSQL
injection£¬XSS£¬Path Disclosure£¬Remote commands executionÕâÑùµÄ×ÖÑ۱ȱȽÔÊÇ£¬ÎÒÃÇ¿´ÁËÖ®ºóµÄÓÃ;ÄѵÀ½ö½öÊÇ×¥È⼦?¶ÔÓÚÎÒÃÇÏë×öweb°²È«µÄÈËÀ´Ëµ£¬×îºÃ¾ÍÊÇÄÃÀ´Ñ§Ï°
£¬¿ÉÊÇÍòÎï×¥¸ùÔ´£¬ÎÒà ......

PHPÈÕ³£¿ª·¢Ð¡¼¼ÇÉ

PHPÅúÁ¿È¡µÃcheckboxµÄÖµ
1¡¢ÃüÃû
<input type='checkbox' name='checkbox[]' value=$dwmyrow[banzhu] />
2¡¢Ê¹ÓÃ
µ±¼Æ»®µ±×÷sqlÖ¸ÁîµÄÒ»²¿·Öʱ£ºÈç¹û²ÎÓë¿ØÖƵÄ×Ö¶ÎÊÇÊýÖµÐ͵ģ¬Ôò
if(! empty($_POST['checkbox'])) {
$expr = join(",", $_POST['checkbox']);
$sql = "select * from tbl_name where field in ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ