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

Php+Mysql×¢ÈëרÌâ

 Php×¢Èë¹¥»÷ÊÇÏÖ½ñ×îÁ÷ÐеĹ¥»÷·½Ê½£¬ÒÀ¿¿ËüÇ¿´óµÄÁé»îÐÔÎüÒýÁ˹ã´óºÚÃÔ¡£
ÔÚÉÏÒ»Æڵġ¶php°²È«Óë×¢ÉäרÌâ¡·ÖÐÁÖ.linxÖ÷Òª½²ÊöÁËphp³ÌÐòµÄ¸÷ÖÖ©¶´£¬Ò²½²µ½ÁËphp£«mysql×¢ÈëµÄÎÊÌ⣬¿ÉÊǽ²µÄ×¢ÈëµÄÎÊÌâ±È½ÏÉÙ£¬ÈÃÎÒÃǸоõûÓо¡ÐËÊÇ°É.
OK,ÕâÒ»ÆÚÎÒ½«¸ø´ó¼Ò»ï×Ð×ÐϸϸµÄ´µÒ»´µphp£«mysql×¢È룬һ¶¨ÈÃÄãÂúÔضø¹éŶ£¨Ë­ÈÓשͷÁ¨£¡£©¡£
±¾ÎÄÖ÷ÒªÊÇΪС²ËÃÇ·þÎñµÄ£¬Èç¹ûÄãÒѾ­ÊÇÒ»Ö»ÀÏÄñÄØ£¬¿ÉÄÜijЩ¶«Î÷»á¸Ð¾õ±È½Ï·¦Î¶£¬µ«Ö»ÒªÄã×ÐϸµÄ¿´£¬Äã»á·¢ÏֺܶàÓÐȤµÄ¶«Î÷Ŷ¡£
ÔĶÁ´ËÎÄÄãÖ»ÒªÃ÷°×ÏÂÃæµÄÕâµã¶«Î÷¾Í¹»ÁË¡£
1.Ã÷°×php+mysql»·¾³ÊÇÈçºÎ´î½¨µÄ£¬ÔÚ¹âÅÌÖÐÎÒÃÇÊÕ¼´î½¨µÄÏà¹ØÎÄÕ£¬Èç¹ûÄú¶Ô´î½¨php+mysql»·¾³²»ÊǺÜÇå³þ£¬ÇëÏȲéÔÄ´ËÎÄ£¬ÔÚÉÏÒ»ÆÚµÄרÌâÖÐÒ²ÓÐËù½éÉÜ¡£
2.´ó¸ÅÁ˽âphpºÍapacheµÄÅäÖã¬Ö÷ÒªÓõ½php.iniºÍhttpd.conf
¶ø´ËÎÄÎÒÃÇÖ÷ÒªÓõ½µÄÊÇphp.iniµÄÅäÖá£ÎªÁË°²È«Æð¼ûÎÒÃÇÒ»°ã¶¼´ò¿ªphp.iniÀïµÄ°²È«Ä£Ê½£¬¼´ÈÃsafe_mode = On£¬»¹ÓÐÒ»¸ö¾ÍÊÇ·µ»ØphpÖ´ÐдíÎóµÄdisplay_errors Õâ»á·µ»ØºÜ¶àÓÐÓõÄÐÅÏ¢£¬ËùÒÔÎÒÃÇÓ¦¸Ã¹Ø±ÕÖ®£¬
¼´ÈÃdisplay_errors£½off ¹Ø±Õ´íÎóÏÔʾºó£¬phpº¯ÊýÖ´ÐдíÎóµÄÐÅÏ¢½«²»»áÔÙÏÔʾ¸øÓû§¡£
ÔÚphpµÄÅäÖÃÎļþphp.iniÖл¹ÓÐÒ»¸ö·Ç³£ÖØÒªµÄÅäÖÃÑ¡Ïîmagic_quotes_gpc£¬¸ß°æ±¾µÄĬÈ϶¼ÊÇmagic_quotes_gpc£½On£¬Ö»ÓÐÔÚÔ­À´µÄ¹Å¶­¼¶µÄphpÖеÄ
ĬÈÏÅäÖÃÊÇmagic_quotes_gpc£½Off£¬¿ÉÊǹŶ­µÄ¶«Î÷Ò²ÓÐÈËÓõÄŶ£¡
µ±php.iniÖÐmagic_quotes_gpc£½OnµÄʱºò»áÓÐʲôÇé¿ö·¢ÉúÁ¨£¬²»Óþª»Å£¬ÌìÊÇËú²»ÏÂÀ´µÄÀ²£¡ËüÖ»ÊÇ°ÑÌá½»µÄ±äÁ¿ÖÐËùÓÐµÄ ’ (µ¥ÒýºÅ), “(Ë«ÒýºÅ), \ (·´Ð±Ïß) ºÍ ¿Õ×Ö·û»á×Ô¶¯×ªÎªº¬Óз´Ð±ÏßµÄתÒå×Ö·û£¬ÀýÈç°Ñ’±ä³ÉÁË\’,°Ñ\±ä³ÉÁË\\¡£
¾ÍÊÇÕâÒ»µã£¬ÈÃÎÒÃǺܲ»Ë¬Å¶£¬ºÜ¶àʱºòÎÒÃǶÔ×Ö·ûÐ͵ľÍÖ»ºÃ˵BYEBYEÁË£¬
µ«ÊDz»ÓÃÆøÄÙ£¬ÎÒÃÇ»¹ÊÇ»áÓк÷½·¨À´¶Ô¸¶ËüµÄ£¬ÍùÏ¿´¿©£¡
3.ÓÐÒ»¶¨µÄphpÓïÑÔ»ù´¡ºÍÁ˽âһЩsqlÓï¾ä£¬ÕâЩ¶¼ºÜ¼òµ¥£¬ÎÒÃÇÓõ½µÄ¶«Î÷ºÜÉÙ£¬ËùÒÔ³äµç»¹À´µÄ¼°Å¶£¡
ÎÒÃÇÏÈÀ´¿´¿´magic_quotes_gpc£½OffµÄʱºòÎÒÃÇÄܸÉЩɶ£¬È»ºóÎÒÃÇÔÙÏë°ì·¨¸ãÒ»¸ãmagic_quotes_gpc£½OnµÄÇé¿ö¹þ
Ò»£ºmagic_quotes_gpc£½OffʱµÄ×¢Èë¹¥»÷
magic_quotes_gpc£½OffµÄÇé¿öËäȻ˵ºÜ²»°²È«£¬Ð°汾ĬÈÏÒ²ÈÃ
magic_quotes_gpc£½OnÁË£¬¿ÉÊÇÔںܶà·þÎñÆ÷ÖÐÎÒÃÇ»¹·¢ÏÖmagic_quotes_gpc£½OffµÄÇé¿ö£¬ÀýÈçwww.qichi.*¡£
»¹ÓÐijЩ³ÌÐòÏñvbbÂÛ̳¾ÍËãÄãÅäÖÃmagic_quotes_gpc£½On


Ïà¹ØÎĵµ£º

PHP FCKeditor2.5 ½â¾öÉÏ´«Í¼Æ¬ÎÊÌâ

Ö÷Òª·ÖΪ3²½£º
µÚÒ»²½£ºÉèÖÃFCKeditor/fckconfig.js
1.
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php
2.
FCKConfig.ImageBrowser = false ;//¹Ø±Õ·þÎñÆ÷ä¯ÀÀ¹¦ÄÜ
µÚ¶þ²½£º ......

½Ó©PHPµÄip2longÓÐbug£¬ÇëÉ÷ÓÃ

 
ÏÈ¿´¿´Ï±ßÕâ¶ÎPHP´úÂë¡£Õâ¶ÎʹÓÃip2longº¯Êý£¬¶Ôͬһ¸öIP½øÐÐת»»¡£µ±È»£¬Ò²ÓÐÈËÈÏΪ58.99.011.1ºÍ058.99.011.1Ëã²»ÉϺϷ¨µÄ
IP£¬ÄǾÍReturn£¬´ËÎĶÔÄãûÓаïÖú¡£
ΪʲôҪʹÓôøÇ°µ¼ÁãµÄip£ºÎªÁËÔÚÊý¾Ý¿âÖвéѯ£¬Õâ¸ö¿ÉÒÔÔÚIP¿âÖж¨Î»µ½ipËù¶ÔÓ¦µÄλÖÃÐÅÏ¢¡£ËäȻûÓÐÕûÐ͵ÄIP²éѯЧÂʸߣ¬µ«±Ï¾¹Ö±¹Û°¡¡£
view ......

PHPÕýÔò±í´ïʽӦÓü¼ÇÉ

PHPÕýÔò±í´ïʽÖ÷ÒªÓÃÓÚ×Ö·û´®µÄģʽ·Ö¸î¡¢Æ¥Åä¡¢²éÕÒ¼°Ìæ»»²Ù×÷¡£Ê¹ÓÃÕýÔò±í´ïʽÔÚijЩ¼òµ¥µÄ»·¾³Ï¿ÉÄÜЧÂʲ»¸ß£¬Òò´ËÈçºÎ¸üºÃµÄʹÓÃPHPÕýÔò±í´ïʽÐèÒª×ۺϿ¼ÂÇ¡£
ÎÒµÄPHPÕýÔòÈëÃÅ£¬ÊÇÆðÔ´ÓÚÍøÉϵÄһƪÎÄÕ£¬ÕâƪÎÄÕÂÓÉdzÈëÉîµÄ²ûÊöÁËPHPÕýÔò±í´ïʽʹÓõķ½·¨£¬ÎÒ¾õµÃÊÇÒ»¸öºÜºÃµÄÈëÃŲÄÁÏ£¬²»¹ýѧ³É»¹ÊÇÒª¿¿¸öÈË£¬ÔÚʹÓà ......

PHP 5.3ÖеÄÐÂÌØÐÔ

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