52AV璈A|52AV.ONE

 曉撖蝣
 蝡唾酉
敹急瑕
  • av隢憯BBS
  • 璈A
  • 芣瑟憭瘚
  • 鞎澆
  • 52av鋆貉摰
  • 銝剜-銝剖銝餅
     
亦: 3538|敺: 0
銝銝銝駁 銝銝銝駁

[PHP] PHP 敺桀蝬脣撌

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-2-6 09:56:28 | 芰閰脖 撣 |摨閬 |梯璅∪
砍敺 IT_man 2015-7-3 10:55 蝺刻摩
+ b9 {$ L8 [& p3 h
- L8 ^3 `' ]4 R2 h+ D" E4 K0 u PHP 銝剖敺桀蝬脣孵臭誑 $_SERVER 蝯孵敺嚗璅孵蝔敺格暺暻餌抬銝雿輻刻絲靘蝞貊嗥陛殷擐靘隤霅撟曉撣貊典啁 $_SERVER- O3 W+ A$ J& [; N6 Q! k
( E# ]7 c" K% }5 O  L9 Q/ r
$_SERVER['HTTP_HOST']2 f/ B0 n6 v; q2 L2 Y* |
$_SERVER['REQUEST_URI']
  I# f6 ]' T  d2 _% s$_SERVER['PHP_SELF']
# T6 i: K7 D" x5 F$_SERVER['QUERY_STRING']
2 \$ N4 Q2 T( L5 u
" I/ |( `1 R' [# E* J閮剜蝬脣 http://www.av4u.info/test.php?tid=12+ h$ Y* O5 F! I
: d6 S5 f5 R8 U+ g; _' ]9 z
隞乩 $_SERVER 仿*蝷箇/ Z7 h/ _; w& T1 G5 B
- P$ }# {+ c( }# B2 g/ b0 h
echo $_SERVER['HTTP_HOST'];//憿舐內 www.av4u.info
' L% X# }" f) s! recho $_SERVER['REQUEST_URI'];//憿舐內 /test.php?tid=12* c* o& N7 N0 K" c+ j* X" y
echo $_SERVER['PHP_SELF'];//憿舐內 /test.php
7 k" q- w- x, G5 ~6 ]echo $_SERVER['QUERY_STRING'];//憿舐內 tid=12% t) q7 {! q# A6 _

$ G+ k( d0 Z: e: Y1 p+ @撟曉 $_SERVER嚗撌脩敺鈭蝬脣典嚗亥撠望舀蝬脣蝯衣韏瑚$URL='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
. ?- v  N. h- k: e6 T! u; A0 @echo $URL;

( _5 J, \: W: s' b7 a9 W* {璅撠勗臭誑拙敺曉函蝬脣嚗芣臬蝪∪桃蝭靘撌莎憒蝬脣蝯瑽頛箄嚗臭誑隤輻冽游 $_SERVER 靘敺閰喟敦典嚗隢 php.net $_SERVER 隞蝝嫘& x3 f9 K* o4 X4 U

9 y( }5 h! B* g" ^' \

$ t3 q7 H' T8 d8 E6 q, o' @PHP : $_SERVER - Manual
, t# c4 w7 P/ F3 Ohttp://php.net/manual/en/reserved.variables.server.php: C9 N+ U+ m9 O3 m  F5 k) |0 Z) E

雿輻券

祉蝛閬

BT蝳

砍憛批捆靘餉衣雯頝臬批捆蝝颲行粹嗥蝬脩嚗摰撟湔遛嚗嚗甇脖誑銝嗅啣摰嗆摰撟湧翩鈭箏ㄚ孵舫脣伐銝憿亙祉璇甈橘芣遛18甇 雓蝯脣亦閬賬粹脩芣遛18甇脖芣撟渡雯閬賜雯頝臭嗥批捆鞈閮嚗撱箄降典舫脰蝬脰楝批捆蝝蝯蝜ICRA蝝摰鋆閮剖 (粹蝯行霅 祉蝬脣銝蝝瘛函隢憯啣嚗祉閮剜蝞∠)

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-22 09:02 , Processed in 0.071137 second(s), 16 queries .

蝯∠.撱

[email protected] | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵