国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

??
Turn on RewriteEngine
Define ?? ?? ??? ??
? PHP ????? ThinkPHP thinkphp5.0? ?? ??? ?????.

thinkphp5.0? ?? ??? ?????.

May 29, 2023 pm 01:21 PM

??? ??? ???? ???? ?? ? ??? ?? ? ?? ??? ?? ? ????? ???????. ?? ?? ???? ???? ? ???? ???? ?? PHP ?????? ????? ?????. ? ? PHP ?? ?????? ThinkPHP? ?? PHP ????? ? ?? ??? ?????. ThinkPHP5.0 ???? ???? ??? ?? ?????? ???? ?????. ? ????? ThinkPHP5.0?? ????? ???? ??? ?????.

1. ?? ??(pseudo-static)? ??

?? ??(Pseudo-static)? ????? ?? URL? ?? ??? ? ??? ???? ????, ???? ?? ??? ???? ?? ?? ???? ????, ??? ?? ?? ???? ???? ?? ?????. ???.

?? ?? ???? ?? URL ??? http://www.example.com/index.php?cat_id=1?? /static/1.html? ?????. ?? http://www.example.com/static/1.html? ???? ??? ??? http://www.example.com/index.php?cat_id=1? ??? ?? ?????, ??? ? ?????.

ThinkPHP5.0 ????? ??? ??? ??? ?? ????? ???? ?? ?? ??? ??? ? ??? ?? ?? ?? URL? ?????.

2. ?? ?? ??

ThinkPHP5.0 ??????? URL ?? ??? ????? ?? ? ??? ?????.

  1. ?? ??? ?????.

???? ?? ?????? config ????? ?? ?? ?? ?? :

app.php ??: 'url_html_suffix' ?? ???? .html? ?? ??? ???? ?????.

??? ?? ?? Route.php: 'route_config_file' => 'route'? ?????.

'url_route_on'              =>  true,    //開啟路由
'url_route_must'            =>  true,     //所有路由必須在路由表中定義

??? url_route_must? true? ?????. ? ??? ??? ???? ?? ??? ????? ?? ???? ?? ????. 404 ??? ?????.

?? Route.php ??? ??? ??? ???? ???:

// ??? ?? ??
thinkRoute ??;
Route::rule('detail--', 'index/ article/detail');

? ?? ????? http://www.example.com/index/article/detail/id/1? http://www.example com?? ???? ??? ??? ?????. /detail-1.php. ? ? Detail--? ?? ??? ?? ????, ? ? ?? ?? ?????. ? ??? ??? ?? ?? ???? ???? ?? URL? ?? URL? ?? ?????.

  1. ? ?? ??

??? ?? ?? ??? ????? ? ????? ?? ??? ???? ???. Apache ??? ?? ??, Apache ?? ?? .htaccess? ??? ???? ???.

Turn on RewriteEngine

RewriteEngine On

Define ?? ?? ??? ??

RewriteRule ^detail-(d+)-(. *)$ /index /article/detail/id/$1 [NC,L]

? ??? URL ??? /detail--? ??? ??? ???? ?? Apache ??? ??? /index/article/detail/id/? ?????. ??? ? URL ??? ?? ?????.

3. ?? ?? ?? ???

?? ?? ??? ??? ? ??? ?? ?? ??? ????? ???. ???? ??? ??? ??? ??? ??? ? ????. ?? ??? ???? ? URL? ?? ?? ???? ???? ???(?: http://www.example.com/detail-1.html). ??? ????? ???? ? ?? ??? ???? ??. ???? ???? ?? ?? ??? ????? ?????.

4. ??

ThinkPHP5.0 ??????? ? ??? ??? ????? ???? ?????? ??? ??? ???? URL? ???? ??? ???? ????. -?? ??? ?????. ??? ?? ????????? SEO ???, URL ?? ? ?? ?? ??? ???? ?? ?? ?? ???? ???? ???? ???.

?? ? ??? ??? thinkphp5.0? pseudo-static ?? ????. ??? ???? pseudo-static? ???? ??? ?? ?? ?? ? ??? ???? ? ??? ???? ?? ??? ?? ???. ????? SEO ???? ??? ??? ?????.

? ??? thinkphp5.0? ?? ??? ?????.? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1601
29
PHP ????
1502
276
???