336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

1) services.msc > Windows Update 서비스 중지

 

2) 다운로드 및 설치 > https://support.microsoft.com/ko-kr/kb/3102810#/ko-kr/kb/3102810

 

3) 윈도우 재시작 후 Windows Update 서비스 시작


4) 업데이트 확인, 시간이 조금 걸린다.

 

'Common knowledge' 카테고리의 다른 글

Ubuntu crontab 사용  (0) 2016.07.20
python 필수 모듈  (0) 2016.07.19
언어별 null 비교문  (0) 2016.07.13
AMAZON SSH ATTACK  (0) 2016.06.21
디렉토리및 파일관리 FlyExplorer  (0) 2016.06.21
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

C 언어

==================================
char *p = NULL;
if (p != NULL) {
    return p;
}


Java
==================================
Object a = null;
if (a != null) {
    return a;
}


Lua > nil, not a
==================================
a = nil
if (not a) then
    return a
end


Python > None, not a
==================================
a = None
if (not a):
   return a


PHP > NULL, is_null()
==================================
$a = NULL;
if (is_null($a)) {
}

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

IP유효성 체크

function checkIPAddr($ip){
	$result = 0;

	if (preg_match('/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/',$ip)){
    		$result = 1;
	}
	return $result;
}
$test = checkIPAddr('1.1.1.1')
echo $test


'Web Service' 카테고리의 다른 글

OWASP Honeypot  (0) 2022.03.10
Nginx SSH 설정 & Rewrite 설정  (0) 2016.07.12
우분투에 nginx, MySQL, PHP(LEMP) 설치  (0) 2016.03.09

+ Recent posts