웹마스터 팁

<HTML>
<HEAD>
<title>Age-Counter</title>
<style TYPE="text/css">
<!--
BODY {font-size:9pt}
Table {font-size:12pt}
A:link {text-decoration:none;}
A:visited {text-decoration:none;color:blue;}
A:hover {text-decoration:none;color:red;}
STRONG {font-size:25pt}
FONT {font-size:9pt}
input {font-size:9pt}
-->
</style>
</head>
<BODY>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!-- hide this script tag's contents from old browsers
function lifetimer(){        
        today = new Date()
        BirthDay = new Date(document.live.age.value)
        timeold = (today.getTime() - BirthDay.getTime());
        sectimeold = timeold / 1000;
        secondsold = Math.floor(sectimeold);
        msPerDay = 24 * 60 * 60 * 1000 ;
        timeold = (today.getTime() - BirthDay.getTime());
        e_daysold = timeold / msPerDay;
        daysold = Math.floor(e_daysold);
        e_hrsold = (e_daysold - daysold)*24;
        hrsold = Math.floor(e_hrsold);
        minsold = Math.floor((e_hrsold - hrsold)*60);
        document.live.time1.value = daysold        
        document.live.time2.value = hrsold        
        document.live.time3.value = minsold        
        window.status = "당신이 태어나서 " + secondsold + "초 지나고 있네요!";
        timerID = setTimeout("lifetimer()",1000)
}

// -- done hiding from old browsers -->
</script>

<font color=red>당신이 태어나서 지금껏 살아온 시간들을 알아보는 스크립트입니다!</font><br><br><form name="live">

당신의 생일을 아래에 다음처럼 입력하세요!!<br>
ex) 1969년 6월 15일생 ▶ <font color=red>june 15,1969</font> 또는 <font color=red>jun 15,1969</font><br>
<INPUT TYPE="text" NAME="age" VALUE="" SIZE=15><br>
<INPUT TYPE="button" NAME="start" VALUE="계산하기" ONCLICK="lifetimer(this.form)">
<INPUT TYPE="reset" NAME="resetb" VALUE="지우기"><br>
당신이 태어나서<INPUT TYPE="text" NAME="time1" VALUE="" size=5>일<INPUT TYPE="text" NAME="time2" VALUE="" size=2>시간<INPUT TYPE="text" NAME="time3" VALUE="" size=2>분이 지났습니다.</form>
<font color=green>아래 상태 표시줄을 보면 당신이 지금까지 살아온 초까지도 알 수가 있습니다.</font><br><br>
<font color=blue>영어가 딸리는 분들을 위한 자그마한 배려!!! ^^</font><br>
1월:<font color=red>Jan</font>uary<BR>
2월:<font color=red>Feb</font>ruary<BR>
3월:<font color=red>Mar</font>ch<BR>
4월:<font color=red>Apr</font>il<BR>
5월:<font color=red>May</font><BR>
6월:<font color=red>Jun</font>e<BR>
7월:<font color=red>Jul</font>y<BR>
8월:<font color=red>Aug</font>ust<BR>
9월:<font color=red>Sep</font>tember<BR>
10월:<font color=red>Oct</font>ober<BR>
11월:<font color=red>Nov</font>ember<BR>
12월:<font color=red>Dec</font>ember<BR>
</BODY>
</HTML>

제목 글쓴이 날짜
echo를 처음사용하시는 초보들에게... [10] ZipShin 2002.07.06
배경그림과 글자색상,배경색상을 지정해주는 php스크립트 [2] ZipShin 2002.07.07
php소스를 윈도우 실행파일로 만드는 컴파일러 있나요? [2] 소우리 2002.07.08
[PHP]간단한 로그인페이지 만들기 [15] ZipShin 2002.07.09
[추천 팁] 웹 브라우저가 한글인지 영문인지(다른 언어인지) 자동 인식하기... [1] 박용구 2002.07.10
PHP 와 Flash 를 이용해 즉석복권을 만들어 보자. [2] 다솜아빠 2002.07.10
[추천 팁] 파일의 최종접근시간과 파일의 수정시간을 알려주는 함수 [2] ssukai 2002.07.10
[추천 팁] 폴더내의 파일중에서 특정정보만 뽑아오기. [2] M2Vis 2002.07.12
PHP를 리눅스 셸 프로그래밍할때 PHP파일 의 경로.. [2] 실버 2002.07.18
원격침입과 도스공격이 가능한 PHP 취약점 [11] JunYa™ 2002.07.24
(삽질완료) 다중도메인, 접속도메인따라 경로결정 [1] nrhythm 2002.07.25
[초보자] 자기 계정에 APM,Perl,PHP이 지원하는지 알아보기. [5] ZipShin 2002.08.01
[Header 이용하기 #1] No-cache [1] )OsE= 2002.08.01
[Header 이용하기 #2] 파일 다운로드 )OsE= 2002.08.01
[Header 이용하기 #3] 페이지 이동 [2] )OsE= 2002.08.01
[초간단 팁] 프로그래밍 스타일, 절대 경로 [8] )OsE= 2002.08.02
Apache나 IIS등 웹서버 설치 않하고도 PHP 실행해보는 방법 [9] 차카게살자 2002.08.02
TheMics의 예제와 함께하는 PHP기초(中) [1] TheMics 2002.08.05
[클래스] 클래스 #1 [8] file )OsE= 2002.08.07
쓸모있는 PHP Tip (다 알구 있을런지 모르겠네여..^^) [1] 이삐아이(체리) 2002.08.09