프로그래밍/기타2008/10/22 09:37
다른 곳에서 첨부파일(이미지)에 대한 링크를 하지 못하도록 방지
        SetEnvIf Referer "^http://localhost/"         referal_localhost
        SetEnvIf Referer "^http://127.0.0.1/"         referal_localhost
        SetEnvIf Referer "^http://blog.redjini.com/"  referal_localhost
        <Directory /data/htdocs/blog.redjini.com/attach>
                Order Deny,Allow
                Deny  from all
                Allow from env=referal_localhost
        </Directory>
2008/10/22 09:37 2008/10/22 09:37
Posted by 나그네
프로그래밍/기타2008/07/29 09:59



스크립트 실행 결과

$name       =abcd efghi
${name}     =abcd efghi
$name length=10
${name:2}   =cd efghi
${name:2:5} =cd ef
${name2:=1234 5}=1234 5
${name2:=123456}=1234 5
${name2:+123456}=123456
${name3:+123456}=
${name2:-123456}=1234 5
${name3:-123456}=123456
${name2:?123456}=1234 5
value.sh: line 37: name3: 123456


2008/07/29 09:59 2008/07/29 09:59
Posted by 나그네
Tags , ,
프로그래밍/기타2008/07/09 11:45
사용자 삽입 이미지

출처 : MSDN
2008/07/09 11:45 2008/07/09 11:45
Posted by 나그네
Tags