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µ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌØµãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄÐͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
»ªÌ춯Á¦ÐͬOAÊDzÉÓÃJAVA¼¼ÊõµÄµäÐÍ´ú±í£¬²¢¾ßÓÐһϵÁÐÓÅ»¯É ......
֮ǰһֱ¶¼ÊÇÔÚ·þÎñÆ÷µ÷ÊÔ³ÌÐò£¬ÓÐÒ»ÌìÏëŪµ½±¾µØÀ´£¬¿ÉËÀ»î¾ÍÊÇÁ¬²»ÉÏÔ¶³Ì·þÎñÆ÷ÁË¡£
±¾µØ£ºwindows+apache¡£
Ô¶³Ì·þÎñÆ÷£ºwindows+ms sql 2008.
phpºÍapache¸ÃÅäÖõͼÅäÁË£¬ÆäËû³ÌÐòÒ²¿ÉÒÔÔËÐУ¬¿É¾ÍÊÇÁ¬²»ÉÏÊý¾Ý¿â¡£
¿à¿àѰÃÙ ......
1¡¢¹ÅÀÏµÄÆÛÆSQLÓï¾ä
ÔÚĬÈÏģʽÏ£¬¼´Ê¹ÊÇÄãÍüÁ˰Ñphp.ini¿½µ½/usr/local/lib/php.iniÏ£¬php»¹ÊÇ´ò¿ªmagic_quotes_gpc=on¡£
ÕâÑùËùÓдÓGET/POST/CookieÀ´µÄ±äÁ¿µÄµ¥ÒýºÅ(')¡¢Ë«ÒýºÅ(")¡¢·´Ð±¸Übackslash(\)ÒÔ¼°¿Õ×ÖÔªNUL
(the null byte)¶¼»á±»¼ÓÉÏ·´Ð±¸Ü£¬ÒÔʹÊý¾Ý¿âÄܹ»ÕýÈ·²éѯ¡£
µ«ÊÇÔÚphp-4-RC2µÄʱºòÒýÈë ......
Äã²»±ØÑϸñ×ñÊØÕâЩÔÔò£¬Î¥±³ËüÃÇÒ²²»»á±»´¦ÒÔ×Ú½ÌÐÌ·£¡£µ«ÄãÓ¦µ±°ÑÕâЩÔÔò¿´³É¾¯Á壬ÈôÎ¥±³ÁËÆäÖеÄÒ»Ìõ£¬ÄÇô¾¯Áå¾Í»áÏìÆð ¡£ ----- Arthur J.Riel
(1)ËùÓÐÊý¾Ý¶¼Ó¦¸ÃÒþ²ØÔÚËùÔÚµÄÀàµÄÄÚ²¿¡£
(2)ÀàµÄʹÓÃÕß±ØÐëÒÀÀµÀàµÄ¹²Óнӿڣ¬µ«À಻ÄÜÒÀÀµËüµÄʹÓÃÕß¡£
(3)¾¡Á¿¼õÉÙÀàµÄÐÒéÖÐµÄ ......
If you want to put some big table in the pdf file, you may got the layout messy. One way to solve the problem is to change the paper size. In "includes/cpdf_adapter.cls.php", Change the size you used in the array to whatever you want.
One tip: Replace Url into Clickable link.
$tex ......