×ðÁú¿­Ê±¹ÙÍøµÇ¼

thinkphp¼Ó·¾¶»á¼û²»µ½ÔõÑù½â¾ö

Ò»¡¢ÎÊÌâÔµ¹ÊÔ­ÓÉ

µ±ÎÒÃÇÔÚÒ³ÃæÖмÓÈë·¾¶Ê±£¬ÀýÈ磺

<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css">

µÇ¼ºó¸´ÖÆ

ÈôÊÇ·¢Ã÷Ò³ÃæÖÐδ¼ÓÔØÑùʽ±í£¬Ôò¿ÉÄÜÊÇÓÉÓÚ·¾¶ÉèÖÃÓÐÎó»òÎÞ·¨»á¼û¡£¿ÉÄÜÊÇÓÉÓÚ¡°__PUBLIC__¡±ÓÖÃûÔÚThinkPHP¿ò¼ÜÖÐδ׼ȷÉèÖõ¼ÖµÄ¡£

“__PUBLIC__”Õâ¸ö·¾¶ÓÖÃûÖ¸µÄÊÇÓ¦ÓóÌÐòµÄ¹«¹²Îļþ¼Ð·¾¶£¬ËüλÓÚÓ¦ÓóÌÐòµÄ¸ùĿ¼Ï¡£Èô¸Ã·¾¶ÓÖÃûδ׼ȷÉèÖã¬Ôò¿ÉÄÜÎÞ·¨»á¼ûÑùʽ±í¡£ÏÂÃæÈÃÎÒÃÇ̽ÌÖÒ»ÏÂÓ¦ÔõÑù׼ȷµØÉèÖá°__PUBLIC__¡±Â·¾¶µÄÓÖÃû¡£

Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡± £»

¶þ¡¢½â¾ö¼Æ»®

ÔÚÉèÖá°__PUBLIC__¡±Õâ¸ö·¾¶ÓÖÃûʱ£¬ÐèҪ˼Á¿Èý¸ö·½Ã棺ӦÓóÌÐòÔÚЧÀÍÆ÷ÉϵÄλÖá¢URLµØµãµÄÉèÖá¢Ó¦ÓóÌÐòÎļþ·¾¶µÄÉèÖá£

Ó¦ÓóÌÐòÔÚЧÀÍÆ÷ÉϵÄλÖÃ

Ó¦ÓóÌÐòµÄ¸ùĿ¼Ӧ¸ÃλÓÚWebЧÀÍÆ÷µÄÎĵµ¸ùĿ¼Ï£¬ÕâÑù²Å»ª°ü¹ÜËùÓеÄÎļþ¶¼Äܹ»±»»á¼ûµ½¡£

URLµØµãµÄÉèÖÃ

ͨ¹ýURLµØµã£¬¿ÉÒÔ»á¼ûµ½Ó¦ÓóÌÐòµÄ¸÷¸ö²¿·Ö¡£Òò´Ë£¬ÐèҪ׼ȷÉèÖÃURLµØµã£¬²Å»ª°ü¹Ü·¾¶ÓÖÃûµÄ׼ȷ»á¼û¡£Ó¦ÓóÌÐòµÄconfig.phpÎļþÊÇThinkPHP¿ò¼ÜÖÐURLÉèÖõÄÖ÷ҪλÖá£Äã¿ÉÒÔÔÚconfig.phpÖÐÉèÖÃURL£º

'URL_MODEL' => 2,
'URL_HTML_SUFFIX' => '.html',
'URL_CASE_INSENSITIVE' => true,
'URL_PATHINFO_FETCH' => 'ORIG_PATH_INFO,REDIRECT_PATH_INFO,REDIRECT_URL'
'URL_ROUTER_ON' => true,

µÇ¼ºó¸´ÖÆ

¸÷¸öÉèÖÃÏîµÄ¼ÄÒ壬¿ÉÒÔ×ÔÐвéÔÄThinkPHP¿ò¼ÜµÄ¹Ù·½Îĵµ¡£

Ó¦ÓóÌÐòÎļþ·¾¶µÄÉèÖÃ

Ó¦ÓóÌÐòÖи÷¸öÎļþµÄ·¾¶ÓÖÃûÐèÒª±»×¼È·ÉèÖá£ÀýÈ磬¡°__PUBLIC__¡±Õâ¸ö·¾¶ÓÖÃûÒ»Ñùƽ³£Ö¸Ïò¡°/public¡±Îļþ¼Ð£¬¶ø¡°__ROOT__¡±Õâ¸ö·¾¶ÓÖÃûÔòÖ¸ÏòÓ¦ÓóÌÐòµÄ¸ùĿ¼¡£ÈôÊÇÕâЩ·¾¶ÓÖÃûûÓб»×¼È·ÉèÖ㬾ͻᵼÖÂÎļþÎÞ·¨±»»á¼û¡£

ÒÔÉϾÍÊÇthinkphp¼Ó·¾¶»á¼û²»µ½ÔõÑù½â¾öµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ