php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
// clean the output buffer
ob_end_clean();
$no = (int)$no;
$no = isset($_REQUEST['no']) ? (int) $_REQUEST['no'] : 0;
// 쿠키에 저장된 ID값과 넘어온 ID값을 비교하여 같지 않을 경우 오류 발생
// 다른곳에서 링크 거는것을 방지하기 위한 코드
@ -71,5 +71,4 @@ while(!feof($fp)) {
usleep(1000);
}
fclose ($fp);
flush();
?>
flush();