switch ($_SERVER[''HTTP_HOST'']) { case ''www1.aspcn.net'': header(''location:index1.htm''); break; case ''www2.aspcn.net'': header(''location:index2.htm''); break; case ''www3.aspcn.net'': header(''location:index3.htm''); ...... 繼續添加 ...... break; } >
|
|
來自: 館長駕到i > 《技術宅-健身極客》