tag:blogger.com,1999:blog-9603824859609611502024-03-08T12:58:58.607-08:00끄적끄적goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.comBlogger60125tag:blogger.com,1999:blog-960382485960961150.post-13538093018705104382013-04-02T18:30:00.002-07:002013-04-02T18:31:40.286-07:00php 쿠키 관련.php에서는 setcookie 하고 나서 바로 사용 불가.<br />
page refresh 또는 location 이 변경되어야 그때부터 사용가능.<br />
<br />
몰랐네...아직도 기초가 부족한건가...goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-86312393888918854402012-04-01T20:24:00.003-07:002012-04-01T20:27:25.056-07:00사용자 정의 함수 (Fatal error: Call to undefined function)<div class="simpara">함수는 아래 두 예제처럼 조건적으로 정의할 경우를 <em class="emphasis">제외하고</em>, 참조하기 전에 정의할 필요는 없습니다. </div><div class="para">아래 예제 코드와 같이 함수가 조건적으로 선언되면 그 함수가 호출되기 <em class="emphasis">전에</em> 함수를 선언해야 한다. </div><br />
<br />
<div class="example-contents"><div class="phpcode"><code><span style="color: black;"><span style="color: #0000bb;"><?php<br />
<br />
$makefoo </span><span style="color: #007700;">= </span><span style="color: #0000bb;">true</span><span style="color: #007700;">;</span><span style="color: #ff8000;">/* We can't call foo() from here<br />
since it doesn't exist yet,<br />
but we can call bar() */</span><span style="color: #0000bb;">bar</span><span style="color: #007700;">();<br />
<br />
if (</span><span style="color: #0000bb;">$makefoo</span><span style="color: #007700;">) {<br />
function </span><span style="color: #0000bb;">foo</span><span style="color: #007700;">()<br />
{<br />
echo </span><span style="color: #dd0000;">"I don't exist until program execution reaches me.\n"</span><span style="color: #007700;">;<br />
}<br />
}</span><span style="color: #ff8000;">/* Now we can safely call foo()<br />
since $makefoo evaluated to true */</span><span style="color: #007700;">if (</span><span style="color: #0000bb;">$makefoo</span><span style="color: #007700;">) </span><span style="color: #0000bb;">foo</span><span style="color: #007700;">();<br />
<br />
function </span><span style="color: #0000bb;">bar</span><span style="color: #007700;">()<br />
{<br />
echo </span><span style="color: #dd0000;">"I exist immediately upon program start.\n"</span><span style="color: #007700;">;<br />
}</span><span style="color: #0000bb;">?></span> </span></code><br />
<br />
<br />
<br />
<code><strong><span style="color: red; font-size: large;">즉, 조건문안에 function 호출하는 부분과 function define 하는 부분이 같이 있다면, function define 하는 부분이 소스상 먼저 위치해야한다.</span></strong></code><br />
<br />
<code><strong>참고 : <a href="http://php.net/manual/kr/functions.user-defined.php">http://php.net/manual/kr/functions.user-defined.php</a></strong></code></div></div>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com1tag:blogger.com,1999:blog-960382485960961150.post-9927406783842191632011-11-29T22:52:00.000-08:002011-11-29T22:57:16.330-08:00php 현재 페이지의 선언된 변수 목록 보기<a href="http://www.php.net/manual/kr/function.get-defined-vars.php" target="_blank">get_defined_vars</a> : <em>이 함수는 <b>get_defined_vars()</b>를 호출하는 영역 안에 존재하는 모든 정의된 변수(환경변수, 서버나 유저 정의 변수) 목록을 포함하는 다차원 배열을 반환합니다.</em><br />
=> 출력부분 위에서 선언된 변수만 나오는듯 하다. 다 볼려면, 맨 하단에서 출력해야할듯.<br />
<br />
비슷한것.<br />
<br />
<br />
<li class="member"><a href="http://www.php.net/manual/kr/function.get-defined-functions.php" target="_blank">get_defined_functions()</a> - Returns an array of all defined functions</li><br />
<br />
<br />
<br />
<br />
<br />
<br />
<li class="member"><a class="function" href="http://www.php.net/manual/kr/function.get-defined-constants.php" rel="rdfs-seeAlso" target="_blank">get_defined_constants()</a> - 모든 상수와 그 값의 연관 배열을 반환합니다</li><br />
<br />
<br />
<br />
<br />
<div class="member"><br />
</div><div class="member">까먹을거 같아서 메모해둠.</div>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-84671291633247992562011-11-22T19:19:00.001-08:002011-11-22T19:19:18.607-08:00[링크] node.js에 대한 정리가 잘된 blog<a href="http://blog.outsider.ne.kr/">http://blog.outsider.ne.kr/</a>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-37722237215777961202011-11-22T18:49:00.001-08:002012-05-28T22:41:50.857-07:00[링크] freebsd port upgrade<a href="http://www.codeforum.net/wiki/doku.php?id=freebsd">http://www.codeforum.net/wiki/doku.php?id=freebsd</a><br />
<br />
<br />
간단히 보자면<br />
<br />
cvsup -g -L 2 ports-supfile 정도.<br />
<br />
/usr/src/share/examples/cvsup/ports-supfile 을 /root에 복사해서 사용했음.goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-25152509288856272172011-11-17T18:11:00.001-08:002011-11-17T18:11:38.207-08:00[링크] nginx + php-fpm + mysql 설치<a href="http://www.codernotes.com/2011/261/nginx-php-fpm-mysql-on-freebsd-8-2/">http://www.codernotes.com/2011/261/nginx-php-fpm-mysql-on-freebsd-8-2/</a>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-83257742739549991372011-06-09T05:07:00.000-07:002011-06-09T05:07:13.769-07:00[ie 버그] iframe innerHTML 문제iframe id = "ifid" 라고 가정.<br />
document.getElementById('ifid').contentWindow.document.body.innerHTML 로 <br />
iframe의 내용을 가져올수 있다.<br />
<br />
but!! 가져오는것은 문제가 되지 않는다.<br />
<br />
document.getElementById('ifid').contentWindow.document.body.innerHTML = '<P><A href="">aaaaaaaaa</A></P><br />
<P><A href="/aa/aa.html">aaaaaaaaaaa</A> <br />
<P><A href="/aa.html">aaaaaaaaa</A></P><br />
<P><A href="/aa/bb/cc.html">aaaaaaaaa</A></P><br />
<P><A href="cc.html">aaaaaaaaa</A></P><br />
<P><A href="#none">aaaaaaaa</A><BR><BR><BR>sdfsdfsdfsdfsdf<BR><BR><BR><BR></P><br />
<P><A href="http://www.abc.com">aaaaaaaaa</A></P><br />
<P><A href="www.abc.com/index.html?#none">aaaaaaaa</A></P><br />
';<br />
을 하고 <br />
alert(document.getElementById('ifid').contentWindow.document.body.innerHTML);<br />
를 하면 ie에서는 현재 자신의 도메인이 각 href속성에 붙어버린다. (설명이 좀 이상하지만 직접 해보면 알거임.)<br />
<br />
하고자 하는 말은 document.getElementById('ifid').contentWindow.document.body.innerHTML은 get은 문제가 없으나 set이 문제인 것이다.<br />
<br />
이 경우 set은 document.getElementById('ifid').contentWindow.document.write 메소드를 사용하면......극~뽁~goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-33663858858856203232011-06-06T22:36:00.000-07:002011-06-06T22:36:49.276-07:00[링크]테이블 구조 복사 한번에.<a href="http://lovelgw.com/Blog/220?category=11" target="_blank">http://lovelgw.com/Blog/220?category=11</a><br />
<br />
도움을 마니 주는 형님 감솨.ㅎㅎgoaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-52112773235101635562011-04-23T01:13:00.000-07:002011-04-23T01:13:00.366-07:00Jason Mraz - I'm yours<div style="clear: both; text-align: center;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9.0.115.00" height="412" id="skplayer" name="skplayer" width="640"><param name='movie' value='http://v.nate.com/v.sk/movie/0%7C214828389/20100921060901183583261001' /><param name='allowFullscreen' value='true' /><param name='allowScriptAccess' value='always' /><param name='wmode' value='transparent' /><embed src='http://v.nate.com/v.sk/movie/0%7C214828389/20100921060901183583261001' wmode='transparent' allowScriptAccess='always' allowFullscreen='true' name='skplayer' width="640" height="412" type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></div>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-65432784618704799792011-02-16T00:23:00.000-08:002011-02-16T17:33:15.465-08:00svn 서버에 계정추가1. svn 서버에 adduser로 계정추가 - empty password(no), random password(yes)<br />
2. svnserve group에 해당 계정 추가 - /etc/group에서 추가.<br />
<br />
* svn+ssh를 사용할경우<br />
3. clien server의 계정에서 ssh-keygen -t rsa 실행<br />
4. 3번 실행후 만들어진 ~/.ssh 디렉토리의 id_rsa.pub의 내용을 svn 서버계정의 ~/.ssh/authorized_keys 파일에 복사등록.<br />
<br />
참고 : <a href="http://wiki.kldp.org/wiki.php/DocbookSgml/SSH-KLDP#AEN87" target="_blank">http://wiki.kldp.org/wiki.php/DocbookSgml/SSH-KLDP#AEN87</a>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-63053722288790830672010-09-27T20:03:00.000-07:002011-01-11T05:00:23.061-08:00[링크] 아낀만큼 기부하는 두친구의 자전거 세계여행.<P> </P>
<P>참 부러우면서도 대단한 용기를 가진 두분께 기립박수를...짝짝짝.</P>
<P>언젠간 나도...</P>
<P>링크 : <A href="http://kimlip.com/2">http://kimlip.com/2</A></P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com2tag:blogger.com,1999:blog-960382485960961150.post-21148039521796593152010-07-28T01:44:00.000-07:002011-01-11T05:00:22.570-08:00[펌]SVN에러!!___Failed to add 'XXX' : object of the same name already exists<P>1.</P>
<P>This error message typically occurs when you try to update your working copy. <br />이 메시지는 대체로 작동중인 복사물을 갱신하려할때 발생한다.</P>
<P>It is thrown because Subversion never deletes or overwrites existing local data. <br />하위 버전이 기존의 로컬 데이터를 전혀 지우거나 겹쳐쓰지 못하면 그 메세지가 던저진다.</P>
<P>There may be three reasons why you get this error:<br />당신이 이러한 에러를 얻는 3가지 이유가 있을지도 모른다.</P>
<P>You have a local unversioned file with the same name as a file which has been added by somebody else recently. <br />당신은 누군가에 의하여 최근에 추가된 파일처럼 같은 이름의 local unversioned file 을 가지고 있다.</P>
<P>In this case the solution is to move your local file somewhere else (or rename it), then update. <br />이러한 경우에 해결책은 당신의 로칼파일을 그밖에 어딘가로 옮기고 (아니면 이름을 바꾸거나) 그런다음 갱신하라.</P>
<P>Afterwards you can decide whether the two files need to be combined in some way, or if the choice of name is purely coincidental you can give your file a different name. <br />그런후에 당신은 두 파일이 어떻게 해서든 결합될 필요가 있는지 ,아니면 그러한 이름의 선택이 적절하다면 당신이 사용하는 파일에 다른 이름을 넣을수 있는지 결정할수 있다.</P>
<P> </P>
<P>2.</P>
<P>A file has been renamed in the repository, but it differs only in case, like Install.txt to install.txt, and you have local changes. <br />파일이 저장소에서 이름이 바뀌었지만 단지 Install.txt 에서 install.txt 처럼 대소문자만 다르며 로컬 상태에서 변경한다.</P>
<P>When you update, you end up in a situation (1), where the modified local file appears as unversioned.<br />갱신할때, 1번과 같은 상황이 되고, 그 상황에서 변경된 로컬 파일은 버전화되지 않은것처럼 나타난다.</P>
<P>Move it somewhere else, update, then sort out the mess. <br />그 파일을 그외 다른곳으로 옮기고 갱신한 다음 해결하라.</P>
<P> </P>
<P> </P>
<P> </P>
<P>3.<br />There are actually 2 different files in the repository whose names differ only in case. <br />실제로 단지 대소문자형태가 다른 2개의 파일이 저장소에 존재한다.</P>
<P>This cannot work on a Windows checkout, because the Windows file system is not case-sensitive. <br />윈도우 파일 시스템이 대문자와 소문자를 구별하지 못하기때문에 이것은 윈도우 체크아웃에서 작동하지 못한다.</P>
<P>It is likely that one of the files got added by mistake, so you need to find out which one, make sure there are no changes committed to the wrong file, then delete it. <br />파일중에 하나가 실수로 추가되었을지도 모른다, 그러므로 그것이 어떤건지 찾아서 잘못된 파일에 아무런 수정도 하지 않았음을 확인하고 그것을 지운다.</P>
<P> </P>
<P> </P>
<P><br />There are several ways to solve the problem and to prevent it from happening again. <br />이러한 문제를 해결하고 재발을 방지하기위한 여러가지 방법이 있다.</P>
<P>Take a look at these instructions.<br />다음 지시를 보자.</P>
<P> </P>
<P> </P>
<P><br />Uppercase/lowercase file name conflicts on Windows<br />대소문자 파일명은 윈도우상에서 충돌한다.</P>
<P><br />There is a server hook script available at: <A class=con_link href="http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/" target=_blank>http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/</A> that will prevent checkins which result in case conflicts<br /><A class=con_link href="http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts" target=_blank>http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts</A>에서 이용가능한 서버훅 스크립트가 있는데 그것은 대소문자의 충돌을 일으키는 체크인을 방지할 것이다.</P>
<P>If you already have two files with a name that differs only in case, <br />이미 대소문자형이 다른 이름을 지닌 두개의 파일을 가지고 있다면,</P>
<P>you have to decide which one of them you want to keep and delete (or rename) the other one from the repository.<br />둘 중에 어떤 파일을 유지할 것이고 나머지를 저장소에서 지우던가 이름을 바꾸던가 결정해야한다.</P>
<P><br />There are (at least) two possible solutions to rename a file without losing its log history. <br />로그기록을 잃지않고 파일의 이름을 바꿀수 있는 방법이 (적어도)2가지가 있다.</P>
<P>It is important to rename it within subversion. <br />하위버전안에서 그 파일의 이름을 바꾸는 것은 중요하다.</P>
<P>Just renaming in the explorer will corrupt your working copy!!!<br />탐색창에서 이름을 바꾸는 것은 작동중인 복사물에 오류를 일으킬 것이다.</P>
<P> </P>
<P><br />Solution A) (recommended) 권장</P>
<P>1. Commit the changes in your working copy. <br /> 작동중인 복사물을 수정하라</P>
<P>2. Rename the file from UPPERcase to upperCASE directly in the repository using the repository browser. <br /> 저장소 브라우저를 이용하여 저장소내의 파일을 UPPERcase 에서 upperCASE로 직접적으로 바꿔라.</P>
<P>3. Update your working copy. <br /> 작동중인 복사물을 갱신하라.</P>
<P> </P>
<P> </P>
<P><br />Solution B)</P>
<P>1. Rename from UPPERcase to UPPERcase_ with the rename command in the TortoiseSVN submenu. <br /> TortoiseSVN의 서브메뉴에 있는 rename명령으로 UPPERcase 에서 UPPERcase_ 로 이름을 바꾼다. </P>
<P>2. Commit the changes. <br /> 수정한다.</P>
<P>3. Rename from UPPERcase_ to upperCASE. <br /> UPPERcase_ 에서 upperCASE로 이름을 바꾼다. </P>
<P>4. Commit the changes. <br /> 수정한다.</P>
<DIV class=autosourcing-stub>
<P style="PADDING-BOTTOM: 0px; FONT-STYLE: normal; MARGIN: 11px 0px 7px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Dotum; FONT-SIZE: 12px; FONT-WEIGHT: normal; PADDING-TOP: 0px"><STRONG style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">[출처]</STRONG> <A href="http://blog.naver.com/jackielee2/10015422481" target=_blank>SVN에러!!___Failed to add 'XXX' : object of the same name already exists</A><SPAN style="PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">|</SPAN><STRONG style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 7px; PADDING-TOP: 0px">작성자</STRONG> <A href="http://blog.naver.com/jackielee2" target=_blank>잭켈리</A></P></DIV>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-66755573291288950952010-04-20T19:29:00.000-07:002011-01-11T05:00:22.129-08:00[링크] HTML5 Presentation<p><a href="http://apirocks.com/html5/html5.html#slide46" target="_blank">http://apirocks.com/html5/html5.html#slide46</a></p>
<p> </p>
<p>html5는...대~~~박~~!!</p>
<p> </p>
<p>ie 에서는 자바스크립트 에러남.</p>
<p> </p>
<p>크롬에서 보삼!!!</p><p><br /></p><p><br /></p><p>참고 : <a href="http://www.findmebyip.com/litmus#target-selector" target="_blank">http://www.findmebyip.com/litmus#target-selector</a> - 호환성보기임</p>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-11700237483124169302010-04-06T19:36:00.000-07:002011-01-11T05:00:20.653-08:00primary key 추가<P>auto increment 인 field "A" 단독으로 primary key인 상황에서 primary key를 추가해야 했다.</P>
<P> </P>
<P><FONT color=#5900bf>alter table [table name] drop primary key; -- primary key 삭제</FONT></P>
<P><FONT color=#5900bf>alter table [table name] add primary key (`A`, `B`); -- primary key 재등록(`B` field 추가)</FONT></P>
<P> </P>
<P>하니까</P>
<P>"alter table [table name] drop primary key;" 구문에서</P>
<P>Incorrect table definition; There can only be one auto column and it must be defined as a key 란 에러 메세지가 떴다.</P>
<P> </P>
<P>찾아보니...<FONT color=#e53693>auto increment로 되어있는 field는 반드시 key로 등록되어 있어야 한다</FONT>는거...</P>
<P> </P>
<P>해서.</P>
<P> </P>
<P><FONT color=#ff0088>alter table [table name] add index `A` (`A`); -- 해서 key 등록하고</FONT></P>
<P>alter table [table name] drop primary key; -- key 등록되었으니 drop</P>
<P>alter table [table name] add primary key (`A`, `B`); -- primary key 재등록</P>
<P><FONT color=#e53693>alter table [table name] drop index `A`; -- 추가했던 key 삭제.</FONT></P>
<P> </P>
<P>해결~~~와우~~ㅎㅎㅎ</P>
<P> </P>
<P>다른방법이 있으면 알려주삼요~</P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-76524730074568596642010-03-24T23:18:00.000-07:002011-01-11T05:00:19.258-08:00ls 목록중 디렉토리 색깔이 맘에 안들면...<P>ls 칠때마다 디렉토리가 퍼런색이어서 글씨가 잘 안보였었다.</P>
<P> </P>
<P>난 c쉘을 쓰기 땜시로 .cshrc를 수정하였다.</P>
<P> </P>
<P>setenv LSCOLORS D <= bold brown인데 yellow같긴 하다.</P>
<P> </P>
<P>또는 setenv LSCOLORS 'cxfxcxdxbxegedabagacad' <= 연두색이다.</P>
<P> </P>
<P>man ls 해보믄 설명이 나와있다.</P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-34262187028807791762010-02-17T23:17:00.000-08:002011-01-11T05:00:18.750-08:00vim 으로 작업중 삭제된 파일 복구.<P>방금 겪었다.</P>
<P>rm -rf 의 무서움을...ㅋ(Subversion 커밋을 안한상황이었다.--;;)</P>
<P>다행히 swap파일이 남아있었고.</P>
<P>vim에서는 이걸로 복구 할수 있었다.</P>
<P> </P>
<P>바로 vim -r [swap file name]</P>
<P> </P>
<P>휴... 10년 감수했네...ㅋ</P>
<P>최고는 커밋하믄서 작업하는것!!!</P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-87452598115438642182010-02-02T02:09:00.000-08:002011-01-11T05:00:18.316-08:00[링크]HTML5 에 관한글<P><A href="http://www.bloter.net/wp-content/bloter_html/2010/02/24791.html" target=_blank>HTML5가 개발자에게 ‘기회의 땅’인 이유</A></P>
<P> </P>
<P>블로터 포럼이라는 사이트 인디...오늘 첨봤네...ㅋ</P>
<P> </P>
<P>간간히 가봐야지 ㅋ</P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-16422054735871805722009-09-04T00:38:00.000-07:002011-01-11T05:00:17.869-08:00[함수] mysql_affected_rows()<P>이 함수는 INSERT, UPDATE, DELETE 등 데이타의 변화가 있을때 </P>
<P> </P>
<P>변경된 row수를 리턴해준다.</P>
<P> </P>
<P>허나...UPDATE의 경우 실제로 UPDATE 쿼리는 성공했다고 하더라도</P>
<P> </P>
<P>이전 데이타와 변경하려는 데이타가 차이가 없을경우에도 0 을 리턴한다.</P>
<P> </P>
<P>예)</P>
<P>test 테이블</P>
<P> </P>
<P>
<TABLE style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 450px; BORDER-BOTTOM: medium none; HEIGHT: 40px" cellSpacing=1 cellPadding=0 bgColor=#aaaaaa>
<TBODY>
<TR bgColor=#ffffff>
<TD width=135> user_id</TD>
<TD width=135> passwd</TD></TR>
<TR bgColor=#ffffff>
<TD width=135> abc</TD>
<TD width=135> 0000</TD></TR>
<TR bgColor=#ffffff>
<TD width=135> def</TD>
<TD width=135> 1111</TD></TR></TBODY></TABLE></P>
<P> </P>
<P>이라는 테이블이 있다고 가정하자.</P>
<P> </P>
<P>1. update test set passwd = 0000 where user_id = abc; --> 데이타의 변화없음</P>
<P>2. update test set passwd = 3333 where user_id = ghi; --> 존재하지 않음</P>
<P> </P>
<P>위의 1번과 2번은 둘다 "Query OK, 0 rows affected"를 리턴한다.</P>
<P> </P>
<P><br /><br /><br /> </P>
<P> </P>
<P><br /><br /> </P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-42606415871366112342009-07-02T07:23:00.000-07:002011-01-11T05:00:16.983-08:00[링크]OOP란 조건문(if)을 줄이는 것<P>아직 자세히 읽어보진 않았지만 일단 링크함.</P>
<P> </P>
<P><A href="http://alankang.tistory.com/249" target=_blank>http://alankang.tistory.com/249</A></P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-84517787897656379662009-04-01T18:57:00.000-07:002011-01-11T05:00:16.487-08:00완전 황당 그 자체...플랜다스u & 인터파크<script src='http://ss.textcube.com/service/blog/script/blogger.js' type='text/javascript'></script><P>
<div id="tt-gallery-44-0" class="tt-gallery-box" style="float: left; margin-right: 10px; text-align: center;">
<script type="text/javascript">
//<![CDATA[
var gallery44_0 = new TC$PRIV_TTGallery("tt-gallery-44-0");
gallery44_0.prevText = "이전 이미지 보기 버튼";
gallery44_0.nextText = "다음 이미지 보기 버튼";
gallery44_0.enlargeText = "원본 크기로 보기 버튼";
gallery44_0.altText = "갤러리 이미지";
gallery44_0.appendImage("http://ss.textcube.com/blog/0/1912/attach/XAvAPcQ8bl.jpg", "", 400, 238.15165876777, "", "");gallery44_0.appendImage("http://ss.textcube.com/blog/0/1912/attach/XSRszqAxnm.jpg", "", 400, 238.15165876777, "", "");gallery44_0.appendImage("http://ss.textcube.com/blog/0/1912/attach/XR41vM3pUV.jpg", "", 157.44525547445, 300, "", ""); gallery44_0.show();
//]]>
</script>
<noscript>
<div class="imageblock center" style="text-align: center; clear: both;"> <img src="http://ss.textcube.com/blog/0/1912/attach/XAvAPcQ8bl.jpg" alt="사용자 삽입 이미지" />
</div><div class="imageblock center" style="text-align: center; clear: both;"> <img src="http://ss.textcube.com/blog/0/1912/attach/XSRszqAxnm.jpg" alt="사용자 삽입 이미지" />
</div><div class="imageblock center" style="text-align: center; clear: both;"> <img src="http://ss.textcube.com/blog/0/1912/attach/XR41vM3pUV.jpg" alt="사용자 삽입 이미지" />
</div> </noscript>
</div>
</P>
<P> </P>
<P> </P>
<P>완전 어이없네 ㅎ </P>
<P> </P>
<P><FONT color=#e53693>명색이 대기업이라 할만한 <FONT color=#007a99>인터파크에서 이런 회사랑 제휴를 맺었다니</FONT>...</FONT></P>
<P><FONT color=#007a99>어떻게 회원동의도 없이 손해보험사 및 기타 보험사등에 개인정보(주민등록번호 포함)를 </FONT></P>
<P><FONT color=#e53693><FONT color=#007a99>제공한다는 </FONT>깡이 있는건지 도무지 알길이 없었다.</FONT></P>
<P>이 사건의 대략적인 요약을 해보자면...</P>
<P>첨에 메일받고 사이트를 방문했더니 인터파크 아이디로 로그인은 되었다. 하지만 여러 메뉴(특히 고객센터)는 들어갈수 없고 개인정보 수정페이지만 계속 고정되는 것이었다. 그래서 대충 작성하니까 플랜다스 내부적으로 회원가입이 된건지 어떤건지 모르겠지만 그제야 고객센터로 갈수 있었다. 가보니 나말고도 이런사람 열라많네 ㅋㅋ 게시판 10페이지까지 봐봤더니 모두다 오늘 아침에 쓴글... 다들 글 제목은 "회원탈퇴요청"!! 나또한 예외없이 "회원탈퇴요청"!!</P>
<P>탈퇴하려고 사이트에 간거니까...참고로 회원탈퇴 링크는 없었다. 게다가 회사정보에 전화번호는 없고 팩스번호만 있더라 ㅋㅋ 정말 유령회사느낌이 팍!!</P>
<P>다른사람들이 적은글 몇개 보다가 인터파크쪽에 항의한다는 사람도 있어서 나두 항의메일보냈다 ㅎㅎ</P>
<P>내 개인정보 유출되기만해봐라~ 내가 카페를 만들던 어찌 하던 가만히 있지 않을테다!!</P>
<P>이 글을 보는분들도 조심하세요~이런 유령회사 같은데에 낚이지 않도록!!</P>
<P> </P>
<P><FONT color=#001ea1>* 회원동의도 없이, 또한 동의여부를 선택할수있는 메뉴 및 링크조차 만들지 않고 개인정보를 유출하는 불법행위라 판단되어 이 글을 올립니다.</FONT></P>
<P><FONT color=#ff0088>* 이미지는 클릭후 좌측 상단에 화살표 클릭하면 정상크기로 확인할 수 있어요~</FONT></P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-47850264984487457752009-02-19T17:53:00.000-08:002011-01-11T05:00:16.021-08:00[링크]XHTML과 HTML의 차이<A href="http://blog.wystan.net/2007/05/24/xhtml-vs-html" target="_blank"><FONT style="BACKGROUND-COLOR: #bb80ff" color=#270f42>XHTML과 HTML의 차이 보기</FONT></A>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-50527140451511823782009-02-03T20:59:00.000-08:002011-01-11T05:00:15.527-08:00[링크]WOL(Wake On LAN) 원격으로 컴터켜기<P><A href="http://comlog.kr/62">WOL(Wake On LAN) 원격으로 컴터켜기</A></P>
<P><A href="http://t2k.co.kr/1/pc/17626">WOL (원격으로 피씨켜기_컴터꺼진상태에서)</A></P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-39104183678470053912009-02-03T01:11:00.000-08:002011-01-11T05:00:15.096-08:00자바스크립트 변수 type검사<P>일반적으로 typeof를 쓴다.(별로 쓸일이 없더만 난.)</P>
<P> </P>
<P>하지만 정확히 하자면</P>
<P> </P>
<P><script type="text/javascript"></P>
<P>alert(<FONT style="BACKGROUND-COLOR: #bb80ff">Object</FONT>.<FONT style="BACKGROUND-COLOR: #bb80ff">prototype</FONT>.<FONT style="BACKGROUND-COLOR: #bb80ff">toString</FONT>.<FONT style="BACKGROUND-COLOR: #bb80ff">call</FONT>([]));<br />alert(Object.prototype.toString.call({}));<br />alert(Object.prototype.toString.call(''));<br />alert(Object.prototype.toString.call(0));<br />alert(Object.prototype.toString.call());</P>
<P></script></P>
<P> </P>
<P>파라미터에 아무것도 안넣으면 window로 나온다.</P>
<P> </P>
<P>오늘은 여기까지.ㅎ</P>
<P> </P>
<P>난 왜이렇게 색감이 없지?ㅡㅡㅋ</P>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-4859419390739002942009-02-03T00:57:00.000-08:002011-01-11T05:00:14.668-08:00[링크]CSS 셀렉터 정리CSS 셀렉터 정리<br /><A href="http://www.nmindplus.com/2007/01/15/css-selector-1/" target=_blank snap_preview_added="spa">http://www.nmindplus.com/2007/01/15/css-selector-1/</A><br /><A href="http://www.nmindplus.com/2007/01/15/css-selector-2/" target=_blank snap_preview_added="spa">http://www.nmindplus.com/2007/01/15/css-selector-2/</A><br /><A href="http://www.nmindplus.com/2007/01/15/css-selector-3/" target=_blank snap_preview_added="spa">http://www.nmindplus.com/2007/01/15/css-selector-3/</A><br /><br />goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0tag:blogger.com,1999:blog-960382485960961150.post-40539376780742243222009-02-02T01:58:00.000-08:002011-01-11T05:00:14.251-08:00[펌]HTML 제작시 필독할만한 내용<A href="http://bluelenz.tistory.com/entry/HTML-%EC%A0%9C%EC%9E%91%EC%8B%9C-%ED%95%84%EB%8F%85%ED%95%A0%EB%A7%8C%ED%95%9C-%EB%82%B4%EC%9A%A9?77c68080">HTML 제작시 필독할만한 내용</A>goaltonghttp://www.blogger.com/profile/16883409882082995900noreply@blogger.com0