#freeze
#setlinebreak(on)
* encodeURIComponent関数とencodeURI関数とescape関数 [#ke1a903f]
#htmlinsert(googleAdsense.html)
#ref(http://dozo.rgr.jp/img/img20_file.png,right,nolink,around,PHP::PEAR)

なんだろこんなにたくさんある意味がわからん。

(ノ・・)ン。。。。。。(((●コロコロッ

調べてみるとJavaScriptのurlencode関数はたくさんあるようだ。
それって・・・何のために?
encode関数とdecode関数はこんな感じで対応
 encodeURI() - decodeURI()
 encodeURIComponent() - decodeURIComponent()
 escape() - unescape()
そして対応ブラウザはと言うと
 encodeURI()
  Firefox
  IE5.5
  NN4
 encodeURIComponent()
  Firefox
  IE5.5
  NN4
 escape()
  Firefox
  IE3
これはつまり歴史的な理由と言うことかな。
一つ一つみてみよう。

**escape [#z31e1342]
  Encodes a string, replacing certain characters
 with a hexadecimal escape equence.
escapeは調べてみると正確には関数ではないらしい
DOMでwindowクラス内のescapeメソッド。
 Syntax
 regular = window.escape(escaped)
デコードするときはunescapeメソッドを使う
 Syntax
 regular = window.unescape(escaped)

**encodeURI [#b26b7782]
  Encodes a Uniform Resource Identifier (URI) by replacing
 each instance of certain characters by one, two, or three 
 escape sequences representing the UTF-8 encoding of the character.
変換する対象はURI。
 Syntax
 encodeURI(URI)

**encodeURIComponent [#o2cd61a6]
  Encodes a Uniform Resource Identifier (URI) component by 
 replacing each instance of certain characters by one, two, 
 or three escape sequences representing the UTF-8 encoding 
 of the character.
変換する対象は文字列。
 Syntax
 encodeURIComponent(String)

PHPのregister_globalsをonにしているとメチャメチャ危険と、
マニュアルに書いているのが面白い。
-Nice online pharmacy,dont let it go away. <a href="http://pills-supplier.com/viagra.htm">viagra</a>  http://pills-supplier.com/viagra.htm  [url=http://pills-supplier.com/viagra.htm]viagra[/url] <a href="http://pills-supplier.com/cialis.htm">cialis</a>  href="http://pills-supplier.com/cialis.htm  [url=http://pills-supplier.com/cialis.htm]cialis[/url] <a href="http://pills-supplier.com/levitra.htm">levitra</a>  http://pills-supplier.com/levitra.htm  [url=http://pills-supplier.com/levitra.htm]levitra[/url] -- [[cialis]] &new{2007-05-19 01:16:08 (土)};
-Very interesting site. Hope it will always be alive!  <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62">cialis</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62]cialis[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61">viagra online</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61]viagra online[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62">buy cialis</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62]buy cialis[/url]  -- [[cialis]] &new{2007-05-19 05:44:05 (土)};
-My dear web designer, it is nice.  <a href="http://www.writeanswer.org/Sonrise/_prayer1/00000013.htm">viagra</a>  http://www.writeanswer.org/Sonrise/_prayer1/00000013.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/00000013.htm]viagra[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/0000000c.htm">levitra</a>  http://www.writeanswer.org/Sonrise/_prayer1/0000000c.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/0000000c.htm]levitra[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/0000000d.htm">buy viagra</a>  http://www.writeanswer.org/Sonrise/_prayer1/0000000d.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/0000000d.htm]buy viagra[/url]  -- [[viagra]] &new{2007-05-19 05:47:06 (土)};
-Hello , it is cool amazing page!  <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006a.htm">viagra</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006a.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006a.htm]viagra[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/0000000f.htm">cheap viagra</a>  http://www.writeanswer.org/Sonrise/_prayer1/0000000f.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/0000000f.htm]cheap viagra[/url]   <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000067.htm">discount viagra</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000067.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000067.htm]discount viagra[/url]  -- [[viagra]] &new{2007-05-19 05:47:56 (土)};
-Great .Now i can say thank you!  <a href="http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12559">cialis</a>  http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12559  [url=http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12559]cialis[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/00000015.htm">viagra sale</a>  http://www.writeanswer.org/Sonrise/_prayer1/00000015.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/00000015.htm]viagra sale[/url]   <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006b.htm">viagra online</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006b.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/0000006b.htm]viagra online[/url]  -- [[cialis]] &new{2007-05-19 05:49:04 (土)};
-Nice webpage, lovely,coolest design.  <a href="http://courses.forum.ncsu.edu/cgi-bin/netforum/st610e/a/3--197">cheap viagra</a>  http://courses.forum.ncsu.edu/cgi-bin/netforum/st610e/a/3--197  [url=http://courses.forum.ncsu.edu/cgi-bin/netforum/st610e/a/3--197]cheap viagra[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61">cheap viagra</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61]cheap viagra[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61">online viagra</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--61]online viagra[/url]  -- [[cheap viagra]] &new{2007-05-19 05:49:47 (土)};
-Thank you for your work!  <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000060.htm">cialis</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000060.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000060.htm]cialis[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/0000000a.htm">cialis online</a>  http://www.writeanswer.org/Sonrise/_prayer1/0000000a.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/0000000a.htm]cialis online[/url]   <a href="http://www.writeanswer.org/Sonrise/_prayer1/0000000b.htm">generic cialis</a>  http://www.writeanswer.org/Sonrise/_prayer1/0000000b.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/0000000b.htm]generic cialis[/url]  -- [[cialis]] &new{2007-05-19 05:51:08 (土)};
-Hello, very useful- thank you! Please also visit my homepages.  <a href="http://www.writeanswer.org/Sonrise/_prayer1/00000009.htm">cialis</a>  http://www.writeanswer.org/Sonrise/_prayer1/00000009.htm  [url=http://www.writeanswer.org/Sonrise/_prayer1/00000009.htm]cialis[/url]   <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000062.htm">generic cialis</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000062.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000062.htm]generic cialis[/url]   <a href="http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000063.htm">levitra</a>  http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000063.htm  [url=http://reshall.iweb.bsu.edu/schmidtwilson/DiscussionBoard/00000063.htm]levitra[/url]  -- [[cialis]] &new{2007-05-19 05:52:03 (土)};
-I  want to say - thank you for this !!!  <a href="http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12551">buy viagra</a>  http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12551  [url=http://dartslab.jpl.nasa.gov/yam/tiki-view_forum_thread.php?forumId=2&comments_parentId=12551]buy viagra[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62">cialis online</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--62]cialis online[/url]   <a href="http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--63">cheap cialis</a>  http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--63  [url=http://www4.gu.edu.au/cgi-bin/netforum/ps01/a/3--63]cheap cialis[/url]  -- [[buy viagra]] &new{2007-05-19 05:53:00 (土)};

#comment


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Third Project
証券会社ランキング比較