phpÖ®Ôì³µÂÛ
ÏÖÔÚphpÓкܶ࿪·¢¿ò¼Ü£¬±ÈÈçzendµÄzendframe——Ò»¸öЧÂʺܵͣ¬µ«ÍþÁ¦ºÜ´óµÄ¾ÞÈË£¬symfony——Ò»¸öÊÊÓôóÐÍÓ¦ÓÃÈ´Ìå»ýÇáÇɵİïÊÖ£¬cakephp£¬codelgniter£¬thinkphp£¬fleaPHPµÈµÈÓÅÐã×÷Æ·¡£
Ò²ÐíÒòΪÕâ¸öÔÒò£¬phpºÜÄѳÉΪÖ÷Á÷¡£Ñ¡Ôñ¶àÁË·´¶ø²»ÖªµÀÑ¡ÔñÄĸöºÃ¡£²»ÏñjavaÓÐͳһµÄÖ÷Á÷¿ò¼Ü£¬Äã¿ÉÒÔÑ¡Ôñejb£¬Ò²¿ÉÒÔÓÃspring¡£
ÎÒѧphpѧÁË°ëÄê¶à£¬¶ÔphpÓÐЩ×Ô¼ºµÄ¿´·¨¡£
дPHPÓ¦¸ÃÊÇѧ»áÀûÓÃÏÖÓÐÓÅÐãµÄ×ÊÔ´È¥¹¹½¨×Ô¼ºµÄ³ÌÐò¡£¿ò¼ÜºÃÏñÊÇÆû³µµÄµ×ÅÌ£¬³ÌÐòÓнṹ£¬¾ÍºÃдÁË£»ÓÅÐãµÄ¿âÀà¾ÍÊdzµÂÖ£¬ÓÃÁËЧÂʾÍÌá¸ßÁ˺ܶ࣬±ÈÈçsmartyÄ£°åÒýÇæ¡£¼ÈÈ»ÍøÉÏÌṩÁËÈç´ËÓÅÐãµÄ×ÊÔ´£¬×ÔȻҪÄùýÀ´Óã¬ÒԼӿ쿪·¢Ëٶȡ£µ«ÊÇÕâ¸ö×ö·¨Óе㲻ˬµÄ¾ÍÊDz»µÃ²»ÊÊÓ¦È˼Ҽȶ¨µÄ¹æÔò£¬°´È˼ҵÄд¡£ºÇºÇ£¬¼ÈÈ»²»×ÔÓɸɴà×Ô¼ºÐ´ºÃÁË£¬µ«ÊÇÄãдµÄʱ¼äδ±Ø±ÈÄãѧϰÓï·¨µÄʱ¼äÉÙ°¡¡£ÊDz»ÊÇ£¬ËùÒÔ£¬»¹ÊÇѧϰÈ˼ҵÄÓï·¨£¬»¹ÒªÁ˽âÏ´úÂëÊÇÈçºÎʵÏÖÔÀíµÄ¡£¶®ÁËÔÀí£¬Äã¾ÍÖªµÀÈ˼ÒдµÄ×÷ƷΪʲôÓÅÐ㣬ûÓÐÀíÓɲ»Óð¡¡£Èç¹ûÄã´¿´âÊÇΪÁËÑо¿¼¼Êõ£¬ºÃ°É£¬Äã×Ô¼ºÐ´¡£ÈôÊÇ¿ª·¢µÄ»°£¬ÀûÓÃÕâЩÏÖ³ÉÁã¼þ¾Í¿ÉÒÔ¼õÉÙʱ¼ä£¬¿ÉνÃ÷ÖÇ¡£
×ܽá˵˵£¬ÄãÒªÉú²úÒ»Á¾³µ£¬Ïñ³µÂÖ°¡£¬µ×ÅÌ°¡£¬²£Á§µÈÁã¼þ£¬¶¼ÊDZðÈËÉú²úºÃµÄ£¬ÎÒÃǾÍÒª°ÑÕâЩ¶«Î÷×é×°ÔÚÒ»Æð£¬×Ô¼ºÔÙÌí¼ÓÉÏһЩºËÐļ¼Êõ£¨±ÈÈçÊý¾Ý²Ù×÷£¬¹¦Äܶ¨ÖÆ£©£¬¾Í¿ÉÒÔÉú²ú³ö×Ô¼ºµÄ³µ£¬ËäȻ˵һ²¿·Ö²»ÊÇÄã×Ô¼º¶ÀÓеģ¬µ«ÊdzµµÄÅÆ×ÓÊÇÄãµÄѽ£¬ºÇºÇ¡£×îÖØÒªµÄÊÇ£¬ÄãµÄ³µÒªÓë±ðÈ˵ijµÓÐËù²»Í¬£¬ÊǼ¼Êõ¡¢·þÎñµÄ²»Í¬£¬¶ø²»ÊÇÁã¼þµÄ²»Í¬¡£
Ïà¹ØÎĵµ£º
Èç¹ûÄãʹÓÃÒ»Ãæ´ó¾µ×Ó×÷Ϊ³åÀË°å»á·¢Éúʲô£¿»òÐíÄã»áÔڽ϶̵Äʱ¼äÄÚÕ÷·þº£ÀË£¬µ«ÊÇÄã¿Ï¶¨´ÓÄÚÐÄÉî´¦Ã÷°×£¬Õâ²»ÊdzåÀ˵ÄÕýÈ·Ñ¡Ôñ¡£Í¬ÑùµÄµÀÀíÒ²ÊÊÓÃÓÚPHP±à³Ì£¬¾¡¹ÜÕâÑùµÄÀà±ÈÌýÆðÀ´ÓÐһЩ¹Å¹Ö¡£ÎÒÃǾ³£Ìýµ½ÓÐÈËÊÔͼÓÃÒ»¸öÖÜÄ©¶àµãµÄʱ¼äÀ´Ñ§»áPHP£¬µ«ÊÇÇëË¡ÎÒÖ±ÑÔ£¬ÕâÊÇѧϰÕâÃűà³ÌÓïÑÔµÄÒ»Öַdz£Ôã¸âµÄ·½Ê½¡£
ΪºÎ资 ......
²½ÖèÒ»£º´î½¨»·¾³
1£¬Ê×ÏȲ鿴ÄãµÄphpÀ©Õ¹Ä¿Â¼ÏÂÊÇ·ñÓÐphp_gettext.dllÕâ¸ö
Îļþ£¬Èç¹ûûÓУ¬Õâ¾ÍÐèÒªÄã
ÏÂÔØÒ»¸ö»òÊÇ´ÓÆäËûµØ·½¿½±´Ò»¸ö£¬È»ºó·Åµ½phpÀ©Õ¹Ä¿Â¼¡£
2£¬´ò¿ªphp.ini£¬²é
ÕÒ”;extension=php_gettext.dll“ £¬È»ºóÈ¥³ý×¢ÊÍ£¬ÖØÆôapache¡£
²½Öè¶þ:ÔÀí½²½â
¼ÙÈçÄãµÄû
Óйú¼Ê»¯µÄ³ÌÐòÀïÓÐÕâÑù ......
In the directory where you plan to install Elgg, do the following:
Create the file .htaccess and add these two lines
RewriteEngine on
RewriteRule ^testing.php$ modrewrite.php
This tells the webserver to load modrewrite.php when testing.php is
requested.
In order to get this test to work on ......
´´½¨ÎĵµÀàÐÍÉùÃ÷
Ò»°ã¶øÑÔ£¬XMLÉùÃ÷·ÅÔÚÎĵµ¶¥²¿¡£ÔÚPHPÖÐÉùÃ÷Ê®·Ö¼òµ¥£ºÖ»ÐèʵÀý»¯Ò»¸öDOMÎĵµÀàµÄ¶ÔÏ󲢸³ÓèËüÒ»¸ö°æ±¾ºÅ¡£²é¿´³ÌÐòÇåµ¥A£º
³ÌÐòÇåµ¥ A
<?php
// create doctype
$dom = new DOMDocument("1.0");
// display document in browser as plain text
// display document in browser as plain text ......
<?php
set_time_limit(0);
$url='http://item.taobao.com/auction/item_detail.htm?xid=0db2&item_num_id=4512430274&cm_cat=50000671&pm2=1';
$ch = curl_init();
$timeout = 10;
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CU ......