한글을 디코더 해보겠습니다.

한글을 디코더한 결과입니다.다시 인코더해보겠습니다.


처음 결과가 출력됩니다.


밑에 영어 설명인데 나중에 해설할게요^^;
해석되시는분 해석부탁드립니다.

  • Input a string of text and encode or decode it as you like.
  • Handy for turning encoded JavaScript URLs from complete gibberish into readable gibberish.
  • If you'd like to have the URL Decoder/Encoder for offline use, just view source and save to your hard drive.
예~ 출처

Example #1 urlencode() example

<?php
echo '<a href="mycgi?foo='urlencode($userinput), '">';
?>

Example #2 urlencode() and htmlentities() example

<?php
$query_string 
'foo=' urlencode($foo) . '&bar=' urlencode($bar);
echo 
'<a href="mycgi?' htmlentities($query_string) . '">';
?>


'progarm_old > [HTML-JS]' 카테고리의 다른 글

getElementById, getElementsByTagName, getAttribute, setAttribute  (0) 2012.07.11
금지단어 설정하기  (0) 2012.06.21
colgroup 열  (0) 2012.06.05
[HTML] 기본 회원가입때 필요한 소스  (0) 2012.04.18
[HTML_JS] 12.02.09 -  (0) 2012.02.09

+ Recent posts