php 환경변수 확인 메탈사슴(onlyonlyyou)
페이지 정보
작성자 미친새 작성일 20-02-21 10:16 조회 17,982 댓글 0본문
header(\"Content-Type: text/html;charset=shift_jis\");
print\"------------------------$_SERVER or $HTTP_SERVER_VARS-------------------------<br>\";
foreach($_SERVER as $key => $value){
print\"$_SERVER[{$key}]={$value}n<br>\";
}
print\"------------------------$_ENV or $HTTP_ENV_VARS-------------------------<br>\";
foreach($_ENV as $key => $value){
print\"$_ENV[{$key}]={$value}n<br>\";
}
print\"------------------------$_COOKIE or $HTTP_COOKIE_VARS-------------------------<br>\";
foreach($_COOKIE as $key => $value){
print\"$_COOKIE[{$key}]={$value}n<br>\";
}
print\"------------------------$_GET or $HTTP_GET_VARS-------------------------<br>\";
foreach($_GET as $key => $value){
print\"$_GET[{$key}]={$value}n<br>\";
}
print\"------------------------$_POST or $HTTP_POST_VARS-------------------------<br>\";
foreach($_POST as $key => $value){
print\"$_POST[{$key}]={$value}n<br>\";
}
print\"------------------------$_FILES or $HTTP_FILES_VARS-------------------------<br>\";
foreach($_FILES as $key => $value){
print\"$_FILES[{$key}]={$value}n<br>\";
}
print\"------------------------$_REQUEST or $HTTP_REQUEST_VARS-------------------------<br>\";
foreach($_REQUEST as $key => $value){
print\"$_REQUEST[{$key}]={$value}n<br>\";
}
print\"------------------------$GLOBALS-------------------------<br>\";
foreach($GLOBALS as $key => $value){
print\"$GLOBALS[{$key}]={$value}n<br>\";
}
print\"------------------------$_SERVER or $HTTP_SERVER_VARS-------------------------<br>\";
foreach($_SERVER as $key => $value){
print\"$_SERVER[{$key}]={$value}n<br>\";
}
print\"------------------------$_ENV or $HTTP_ENV_VARS-------------------------<br>\";
foreach($_ENV as $key => $value){
print\"$_ENV[{$key}]={$value}n<br>\";
}
print\"------------------------$_COOKIE or $HTTP_COOKIE_VARS-------------------------<br>\";
foreach($_COOKIE as $key => $value){
print\"$_COOKIE[{$key}]={$value}n<br>\";
}
print\"------------------------$_GET or $HTTP_GET_VARS-------------------------<br>\";
foreach($_GET as $key => $value){
print\"$_GET[{$key}]={$value}n<br>\";
}
print\"------------------------$_POST or $HTTP_POST_VARS-------------------------<br>\";
foreach($_POST as $key => $value){
print\"$_POST[{$key}]={$value}n<br>\";
}
print\"------------------------$_FILES or $HTTP_FILES_VARS-------------------------<br>\";
foreach($_FILES as $key => $value){
print\"$_FILES[{$key}]={$value}n<br>\";
}
print\"------------------------$_REQUEST or $HTTP_REQUEST_VARS-------------------------<br>\";
foreach($_REQUEST as $key => $value){
print\"$_REQUEST[{$key}]={$value}n<br>\";
}
print\"------------------------$GLOBALS-------------------------<br>\";
foreach($GLOBALS as $key => $value){
print\"$GLOBALS[{$key}]={$value}n<br>\";
}
댓글목록 0
등록된 댓글이 없습니다.