PHP ÈçºÎÖ§³Ö¶àÓïÑÔ°¡ - PHP / »ù´¡±à³Ì
PHP ÈçºÎÖ§³Ö¶àÓïÑÔ°¡,ÎÒÔÚÍøÉÏÕÒµ½Ò»ÖÖ·½·¨£¬½Ðʲôgettext, ×ö³öÀ´ºóΪʲôֻÓÐÖÐÎÄ¡£
ÎÒÓõÄwindowsϵͳphp5
http://caihorse.javaeye.com/blog/485865
http://jy19910708.blog.163.com/blog/static/7884475820096221132222/?fromdm&fromSearch&isfromSearchEngine=yes
gun_gettext.dll,ºÍlibintl-1.dll,ÎÒ¶¼ÕÒ²»µ½.
ÄÄλ´óÏÀ¿ÉÒÔ°ï°ïÎÒÄØ,Thanks very much!!
(¡Ño¡Ñ)¡ ×ö³É¶à¹úÓïÑÔ°ü
×Ô¼º×öÓïÑÔ°ü¡£
²»Í¬ÓïÑÔµ÷²»Í¬µÄ°ü¡£
gettext²»ºÃÓá£
ÄÇÎÒÓÃini,»¹ÊÇxmlÎļþ£¬ºÃÄØ
libintl-1.dll¿ÉÄÜûÓа²×° Äã²é¿´ÏÂϵͳÅÌwindows/system32Ï ÓÐûÓÐÕâЩDLL ûÓеĻ°ÐèҪװÉÏ
ÎÒ²»ÖªµÀÔõôװ
windowsϲο¼http://zyxhome.org/wp/i18n/iconv-gettext-sum-win-port-bookmark/
ÓÃÄ£°åÒ²¿ÉÒÔ°É,ÎÒµÄPHP´úÂë²»»á°üº¬Ò»¸öÒ³Ãæ»áÏÔʾµÄÎÄ×Ö(²»¹ÜÖÐÎÄ»¹ÊÇÓ¢ÎÄ),ËùÒÔµ÷Óò»Í¬µÄÄ£°å¾Í¿ÉÒÔʵÏÖ¶àÓïÑÔ!
GETTEXT »¹ÊÇÅä²»ÆðÀ´
Ïà¹ØÎÊ´ð£º
ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......
PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂð£¿
......
¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
»òÕßÔÚjsÎļþÀïµ÷ÓÃphpÎļþдµÄseesion£¿
PHP¸ÕÈëÃÅѧϰ,ÓÑÇ鶥һ¸ö
¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
//echo '<script>alert("ok");< ......
phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë
ÀýÈ磺
SELECT time, goodid from dbname1.time, dbname2.goods
ÊÇÕâ¸öÒâ˼ô£¿
SELECT time, goodid from ......