cvs: phpdoc-kr /appendices history.xml resources.xml transports.xml /install pecl.xml problems.xml /reference/url/functions get-meta-tags.xml
http-build-query.xml rawurlencode.xml urlencode.xml

From: Date: Mon, 17 Nov 2008 14:22:39 +0000
Subject: cvs: phpdoc-kr /appendices history.xml resources.xml transports.xml /install pecl.xml problems.xml /reference/url/functions get-meta-tags.xml
http-build-query.xml rawurlencode.xml urlencode.xml
Groups: php.doc.kr 
Request: Send a blank email to doc-kr+get-776@lists.php.net to get a copy of this message
progcom Mon Nov 17 14:22:39 2008 UTC Modified files: /phpdoc-kr/appendices history.xml resources.xml transports.xml /phpdoc-kr/install pecl.xml problems.xml /phpdoc-kr/reference/url/functions get-meta-tags.xml http-build-query.xml rawurlencode.xml urlencode.xml Log: sync

http://cvs.php.net/viewvc.cgi/phpdoc-kr/appendices/history.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-kr/appendices/history.xml diff -u phpdoc-kr/appendices/history.xml:1.13 phpdoc-kr/appendices/history.xml:1.14 --- phpdoc-kr/appendices/history.xml:1.13 Sun Nov 9 18:31:46 2008 +++ phpdoc-kr/appendices/history.xml Mon Nov 17 14:22:38 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.19 Maintainer: fuzzy74 Status: ready --> +<!-- EN-Revision: 1.28 Maintainer: progcom Status: ready --> +<!-- CREDITS: fuzzy74 --> <appendix xml:id="history" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>PHP와 PHP 관련 프로젝트의 역사</title> @@ -110,11 +110,6 @@ 새로운 언어 구조이다. </para> <para> - PHP 4는 현재까지 가장 마지막으로 릴리즈된 PHP 버전이다. - PHP 5.0을 위해 설계된 기능을 구체화시키기 위해서 젠드 엔진을 - 변경하고 향상시키는 작업이 이미 시작되었다. - </para> - <para> 현재, PHP는 수십만명의 개발자들에 의해서 사용되고있고(추정치), 수백만 사이트에 설치되어있다고 보고되었다. 이 수치는 인터넷상에서 20% 이상의 도메인 수가 된다. @@ -128,9 +123,9 @@ <sect2 xml:id="history.php5"> <title>PHP 5</title> <para> - PHP의 미래는 주로 그 코어, 젠드 엔진에 의해 운영된다. PHP 5는 새로운 - 젠드 엔진 2.0을 포함할것이다. 이 엔진에 대한 더 자세한 정보를 원한다면, - <link xlink:href="&url.zend.future;">이 웹페이지를 참고한다</link>. + PHP 5는 긴 개발 기간과 많은 프리릴리즈를 거쳐 2004년 7월에 릴리즈 + 되었습니다. 주 변경은 핵심으로, 새로운 객체 모델과 수많은 새 기능을 가진 + 젠드 엔진 2.0으로 작동합니다. </para> </sect2> </sect1> @@ -151,10 +146,10 @@ <sect2 xml:id="history.pear"> <title>PEAR</title> <para> - PEAR, PHP Extension 과 Application Repository (원래, - PHP Extension 과 Add-on Repository)는 PHP의 기초 클래스 버전이다. - 앞으로 개발자들 사이에서 PHP와 C기반 PHP확장 모두를 제공하는 핵심 - 수단의 하나로 성장할 것이다. + <link xlink:href="&url.php.pear;">PEAR</link>, PHP Extension and + Application Repository (원래, PHP Extension and Add-on Repository)는 PHP의 + 기초 클래스 버전이다. 앞으로 개발자들 사이에서 PHP와 C기반 PHP확장 모두를 + 제공하는 핵심 수단의 하나로 성장할 것이다. </para> <para> PEAR는 Tel Aviv에서 2000년 1월에 개최된 PHP Developers' Meeting (PDM) @@ -168,25 +163,30 @@ 수학적 계산, 이커머스(eCommerce) 등등을 위한 광범위한 인프라구조 기초 클래스를 포함한다. </para> + <para> + PEAR에 대한 자세한 정보는 <link + xlink:href="&url.php.pear.manual;">매뉴얼</link>에서 찾을 수 있습니다. + </para> </sect2> <sect2 xml:id="history.phpqa"> - <title>PHP 품질 보증 발의</title> + <title>PHP 품질 보증 조직</title> <para> - PHP 품질 보증 발의(PHP Quality Assurance Initiative)는 2000년 여름에 - PHP 릴리즈가 제조 환경을 위해 충분히 테스트되지 않는다는 토론에 대응하여 - 설치되었다. 이 팀은 PHP 코드 베이스의 충분한 이해를 갖고있는 - 핵심 개발 그룹으로 구성되었다. 이 개발자들은 PHP를 지역화하고 PHP 내의 버그를 - 고치는데 그들 대부분의 시간을 보낸다. 추가로 다양한 플랫폼을 사용하여 - 이런 버그 수리에 대하여 많은 다른 팀 멤버도 피드백을 제공중이다. + <link xlink:href="&url.php.prerelease;">PHP 품질 보증 조직</link>은 2000년 + 여름에 PHP 릴리즈가 제조 환경을 위해 충분히 테스트되지 않는다는 토론에 + 대응하여 설치되었다. 이 팀은 PHP 코드 베이스의 충분한 이해를 갖고있는 핵심 + 개발 그룹으로 구성되었다. 이 개발자들은 PHP를 지역화하고 PHP 내의 버그를 + 고치는데 그들 대부분의 시간을 보낸다. 추가로 다양한 플랫폼을 사용하여 이런 + 버그 수리에 대하여 많은 다른 팀 멤버도 피드백을 제공중이다. </para> </sect2> <sect2 xml:id="history.phpgtk"> <title>PHP-GTK</title> <para> - PHP-GTK는 클라이언트측 GUI 응용프로그램을 작성하기 위한 PHP 솔루션이다. - Andrei Zmievski는 PHP-GTK를 계획하고 창조한 과정을 다음과 같이 회고한다: + <link xlink:href="&url.php.gtk;">PHP-GTK</link>는 클라이언트측 GUI + 응용프로그램을 작성하기 위한 PHP 솔루션이다. Andrei Zmievski는 PHP-GTK를 + 계획하고 창조한 과정을 다음과 같이 회고한다: </para> <blockquote> <para> @@ -272,7 +272,7 @@ <para> PHP에 관한 기사는 Dr. Dobbs, Linux Enterprise, Linux Magazine 등등에서 보이게 되었고, ASP기반 응용 프로그램을 윈도우의 PHP로 마이그레이션하는 기사는 - 마이크로소프트의 MSDN에도 보인다! + <productname>마이크로소프트</productname>의 <acronym>MSDN</acronym>에도 보인다! </para> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc-kr/appendices/resources.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/appendices/resources.xml diff -u phpdoc-kr/appendices/resources.xml:1.5 phpdoc-kr/appendices/resources.xml:1.6 --- phpdoc-kr/appendices/resources.xml:1.5 Sat Jun 23 13:51:36 2007 +++ phpdoc-kr/appendices/resources.xml Mon Nov 17 14:22:38 2008 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.30 Maintainer: fuzzy74 Status: ready --> +<!-- EN-Revision: 1.39 Maintainer: progcom Status: ready --> +<!-- CREDITS: fuzzy74 --> <appendix xml:id="resource" xmlns="http://docbook.org/ns/docbook"> - <title>리소스 타입 목록</title> + <title>리소스형 목록</title> <para> 다음은 PHP 리소스를 생성, 사용, 파괴하는 함수 목록이다. 함수 <function>is_resource</function>는 특정 변수가 리소스인지 확인하기 - 위해 사용될수 있고 <function>get_resource_type</function>은 변수의 리소스 - 타입을 리턴할것이다. + 위해 사용할수 있고 <function>get_resource_type</function>은 변수의 + 리소스형을 반환합니다. <table> - <title>리소스 타입</title> + <title>리소스형</title> <tgroup cols="5"> <colspec colwidth='1*'/> <colspec colwidth='1*'/> @@ -18,11 +18,11 @@ <colspec colwidth='1*'/> <thead> <row> - <entry>리소스 타입명</entry> + <entry>리소스형 이름</entry> <entry>생성 함수</entry> <entry>사용 함수</entry> <entry>파괴 함수</entry> - <entry>선언</entry> + <entry>정의</entry> </row> </thead> <tbody> @@ -39,9 +39,9 @@ <entry> None </entry> - <entry>Aspell dictionary</entry> + <entry>Aspell 사전</entry> </row> - <row> + <row> <entry>bzip2</entry> <entry> <function>bzopen</function> @@ -57,7 +57,7 @@ <entry> <function>bzclose</function> </entry> - <entry>Bzip2 file</entry> + <entry>Bzip2 파일</entry> </row> <row> <entry>COM</entry> @@ -75,7 +75,7 @@ <entry> None </entry> - <entry>COM 객체 레퍼런스</entry> + <entry>COM 객체 참조</entry> </row> <row> <entry>VARIANT</entry> @@ -164,16 +164,21 @@ <row> <entry>curl</entry> <entry> + <function>curl_copy_handle</function>, <function>curl_init</function> </entry> <entry> - <function>curl_init</function>, - <function>curl_exec</function> + <function>curl_copy_handle</function>, + <function>curl_errno</function>, + <function>curl_error</function>, + <function>curl_exec</function>, + <function>curl_getinfo</function>, + <function>curl_setopt</function> </entry> <entry> <function>curl_close</function> </entry> - <entry>Curl session</entry> + <entry>Curl 세션</entry> </row> <row> <entry>dbm</entry> @@ -192,7 +197,7 @@ <entry> <function>dbmclose</function> </entry> - <entry>DBM database로의 연결</entry> + <entry>DBM 데이터베이스 연결</entry> </row> <row> <entry>dba</entry> @@ -213,7 +218,7 @@ <entry> <function>dba_close</function> </entry> - <entry>Link to DBA database</entry> + <entry>DBA 데이터베이스 연결</entry> </row> <row> <entry>dba persistent</entry> @@ -234,7 +239,7 @@ <entry> None </entry> - <entry>Persistent link to DBA database</entry> + <entry>DBA 데이터베이스 지속 연결</entry> </row> <row> <entry>dbase</entry> @@ -254,7 +259,7 @@ <entry> <function>dbase_close</function> </entry> - <entry>Link to Dbase database</entry> + <entry>Dbase 데이터베이스 연결</entry> </row> <row> <entry>dbx_link_object</entry> @@ -267,7 +272,7 @@ <entry> <function>dbx_close</function> </entry> - <entry>dbx connection</entry> + <entry>dbx 접속</entry> </row> <row> <entry>dbx_result_object</entry> @@ -279,7 +284,7 @@ <entry> None </entry> - <entry>dbx result</entry> + <entry>dbx 결과</entry> </row> <row> <entry>domxml attribute</entry> @@ -317,18 +322,6 @@ <entry> </entry> </row> <row> - <entry>fbsql database</entry> - <entry> - <function>fbsql_select_db</function> - </entry> - <entry> - </entry> - <entry> - None - </entry> - <entry>fbsql database</entry> - </row> - <row> <entry>fbsql link</entry> <entry> <function>fbsql_change_user</function>, @@ -336,22 +329,40 @@ </entry> <entry> <function>fbsql_autocommit</function>, + <function>fbsql_blob_size</function>, + <function>fbsql_clob_size</function>, + <function>fbsql_commit</function>, <function>fbsql_change_user</function>, + <function>fbsql_create_blob</function>, <function>fbsql_create_db</function>, + <function>fbsql_create_clob</function>, <function>fbsql_data_seek</function>, + <function>fbsql_database_password</function>, + <function>fbsql_database</function>, <function>fbsql_db_query</function>, + <function>fbsql_db_status</function>, <function>fbsql_drop_db</function>, - <function></function>, - <function>fbsql_select_db</function>, <function>fbsql_errno</function>, <function>fbsql_error</function>, + <function>fbsql_get_autostart_info</function>, + <function>fbsql_hostname</function>, <function>fbsql_insert_id</function>, - <function>fbsql_list_dbs</function> + <function>fbsql_list_dbs</function>, + <function>fbsql_password</function>, + <function>fbsql_read_blob</function>, + <function>fbsql_read_clob</function>, + <function>fbsql_rollback</function>, + <function>fbsql_select_db</function>, + <function>fbsql_set_password</function>, + <function>fbsql_set_transaction</function>, + <function>fbsql_start_db</function>, + <function>fbsql_stop_db</function>, + <function>fbsql_username</function> </entry> <entry> <function>fbsql_close</function> </entry> - <entry>Link to fbsql database</entry> + <entry>fbsql 데이터베이스 연결</entry> </row> <row> <entry>fbsql plink</entry> @@ -366,7 +377,6 @@ <function>fbsql_data_seek</function>, <function>fbsql_db_query</function>, <function>fbsql_drop_db</function>, - <function></function>, <function>fbsql_select_db</function>, <function>fbsql_errno</function>, <function>fbsql_error</function>, @@ -376,7 +386,7 @@ <entry> None </entry> - <entry>Persistent link to fbsql database</entry> + <entry>fbsql 데이터베이스 지속 연결</entry> </row> <row> <entry>fbsql result</entry> @@ -411,7 +421,7 @@ <entry> <function>fbsql_free_result</function> </entry> - <entry>fbsql result</entry> + <entry>fbsql 결과</entry> </row> <row> <entry>fdf</entry> @@ -437,12 +447,13 @@ <entry> <function>fdf_close</function> </entry> - <entry>FDF File</entry> + <entry>FDF 파일</entry> </row> <row> <entry>ftp</entry> <entry> - <function>ftp_connect</function> + <function>ftp_connect</function>, + <function>ftp_ssl_connect</function> </entry> <entry> <function>ftp_login</function>, @@ -463,23 +474,40 @@ <function>ftp_mdtm</function>, <function>ftp_rename</function>, <function>ftp_delete</function>, - <function>ftp_site</function> + <function>ftp_site</function>, + <function>ftp_alloc</function>, + <function>ftp_chmod</function>, + <function>ftp_exec</function>, + <function>ftp_get_option</function>, + <function>ftp_nb_continue</function>, + <function>ftp_nb_fget</function>, + <function>ftp_nb_fput</function>, + <function>ftp_nb_get</function>, + <function>ftp_nb_put</function>, + <function>ftp_raw</function>, + <function>ftp_set_option</function> </entry> <entry> - <function>ftp_quit</function> + <function>ftp_close</function> </entry> - <entry>FTP stream</entry> + <entry>FTP 스트림</entry> </row> <row> <entry>gd</entry> <entry> <function>imagecreate</function>, + <function>imagecreatefromgd</function>, + <function>imagecreatefromgd2</function>, + <function>imagecreatefromgd2part</function>, <function>imagecreatefromgif</function>, <function>imagecreatefromjpeg</function>, <function>imagecreatefrompng</function>, <function>imagecreatefromwbmp</function>, <function>imagecreatefromstring</function>, - <function>imagecreatetruecolor</function> + <function>imagecreatefromxbm</function>, + <function>imagecreatefromxpm</function>, + <function>imagecreatefromtruecolor</function>, + <function>imagerotate</function> </entry> <entry> <function>imagearc</function>, @@ -512,6 +540,7 @@ <function>imagepolygon</function>, <function>imagepstext</function>, <function>imagerectangle</function>, + <function>imagerotate</function>, <function>imagesetpixel</function>, <function>imagestring</function>, <function>imagestringup</function>, @@ -530,12 +559,29 @@ <function>imagetruecolortopalette</function>, <function>imagesetbrush</function>, <function>imagesettile</function>, - <function>imagesetthickness</function> + <function>imagesetthickness</function>, + <function>image2wbmp</function>, + <function>imagealphablending</function>, + <function>imageantialias</function>, + <function>imagecolorallocatealpha</function>, + <function>imagecolorclosesthwb</function>, + <function>imagecolordeallocate</function>, + <function>imagecolormatch</function>, + <function>imagefilter</function>, + <function>imagefttext</function>, + <function>imagegd</function>, + <function>imagegd2</function>, + <function>imageistruecolor</function>, + <function>imagelayereffect</function>, + <function>imagepalettecopy</function>, + <function>imagesavealpha</function>, + <function>imagesetstyle</function>, + <function>imagexbm</function> </entry> <entry> <function>imagedestroy</function> </entry> - <entry>GD Image</entry> + <entry>GD 이미지</entry> </row> <row> <entry>gd font</entry> @@ -550,7 +596,7 @@ <entry> None </entry> - <entry>Font for GD</entry> + <entry>GD 폰트</entry> </row> <row> <entry>gd PS encoding</entry> @@ -574,7 +620,7 @@ <entry> <function>imagepsfreefont</function> </entry> - <entry>PS font for GD</entry> + <entry>GD PS 폰트</entry> </row> <row> <entry>GMP integer</entry> @@ -623,7 +669,7 @@ <entry> None </entry> - <entry>GMP Number</entry> + <entry>GMP 수</entry> </row> <row> <entry>hyperwave document</entry> @@ -657,7 +703,7 @@ <entry> <function>hw_deleteobject</function> </entry> - <entry>Hyperwave object</entry> + <entry>Hyperwave 객체</entry> </row> <row> <entry>hyperwave link</entry> @@ -710,7 +756,7 @@ <function>hw_close</function>, <function>hw_free_document</function> </entry> - <entry>Link to Hyperwave server</entry> + <entry>Hyperwave 서버 연결</entry> </row> <row> <entry>hyperwave link persistent</entry> @@ -762,7 +808,7 @@ <entry> None </entry> - <entry>Persistent link to Hyperwave server</entry> + <entry>Hyperwave 서버 지속 연결</entry> </row> <row> <entry>icap</entry> @@ -780,7 +826,7 @@ <entry> <function>icap_close</function> </entry> - <entry>Link to icap server</entry> + <entry>icap 서버 연결</entry> </row> <row> <entry>imap</entry> @@ -829,7 +875,7 @@ <entry> <function>imap_close</function> </entry> - <entry>Link to IMAP, POP3 server</entry> + <entry>IMAP, POP3 서버 연결</entry> </row> <row> <entry>imap chain persistent</entry> @@ -870,7 +916,7 @@ <entry> <function>ingres_close</function> </entry> - <entry>Link to ingresII base</entry> + <entry>ingresII base 연결</entry> </row> <row> <entry>ingres persistent</entry> @@ -897,7 +943,7 @@ <entry> None </entry> - <entry>Persistent link to ingresII base</entry> + <entry>ingresII base 지속 연결</entry> </row> <row> <entry>interbase blob</entry> @@ -919,7 +965,7 @@ <entry> <function>ibase_close</function> </entry> - <entry>Link to Interbase database</entry> + <entry>Interbase 데이터베이스 연결</entry> </row> <row> <entry>interbase link persistent</entry> @@ -934,7 +980,7 @@ <entry> None </entry> - <entry>Persistent link to Interbase database</entry> + <entry>Interbase 데이터베이스 지속 연결</entry> </row> <row> <entry>interbase query</entry> @@ -947,7 +993,7 @@ <entry> <function>ibase_free_query</function> </entry> - <entry>Interbase query</entry> + <entry>Interbase 질의</entry> </row> <row> <entry>interbase result</entry> @@ -963,7 +1009,7 @@ <entry> <function>ibase_free_result</function> </entry> - <entry>Interbase Result</entry> + <entry>Interbase 결과</entry> </row> <row> <entry>interbase transaction</entry> @@ -976,7 +1022,7 @@ <entry> <function>ibase_rollback</function> </entry> - <entry>Interbase transaction</entry> + <entry>Interbase 트랜잭션</entry> </row> <row> <entry>java</entry> @@ -1006,7 +1052,7 @@ <entry> <function>ldap_close</function> </entry> - <entry>ldap connection</entry> + <entry>ldap 접속</entry> </row> <row> <entry>ldap result</entry> @@ -1042,7 +1088,7 @@ <entry> <function>ldap_free_result</function> </entry> - <entry>ldap search result</entry> + <entry>ldap 검색 결과</entry> </row> <row> <entry>ldap result entry</entry> @@ -1090,7 +1136,7 @@ <entry> <function>mcal_close</function> </entry> - <entry>Link to calendar server</entry> + <entry>calendar 서버 연결</entry> </row> <row> <entry>SWFAction</entry> @@ -1214,7 +1260,7 @@ <entry> <function>msql_close</function> </entry> - <entry>Link to mSQL database</entry> + <entry>mSQL 데이터베이스 연결</entry> </row> <row> <entry>msql link persistent</entry> @@ -1233,11 +1279,15 @@ <entry> None </entry> - <entry>Persistent link to mSQL</entry> + <entry>mSQL 지속 연결</entry> </row> <row> <entry>msql query</entry> <entry> + <function>msql_db_query</function>, + <function>msql_list_dbs</function>, + <function>msql_list_fields</function>, + <function>msql_list_tables</function>, <function>msql_query</function> </entry> <entry> @@ -1249,12 +1299,12 @@ <function>msql_fetch_field</function>, <function>msql_fetch_object</function>, <function>msql_fetch_row</function>, - <function>msql_fieldname</function>, <function>msql_field_seek</function>, - <function>msql_fieldtable</function>, - <function>msql_fieldtype</function>, - <function>msql_fieldflags</function>, - <function>msql_fieldlen</function>, + <function>msql_field_table</function>, + <function>msql_field_flags</function>, + <function>msql_field_len</function>, + <function>msql_field_name</function>, + <function>msql_field_type</function>, <function>msql_num_fields</function>, <function>msql_num_rows</function>, <function>msql_numfields</function>, @@ -1265,7 +1315,7 @@ <function>msql_free_result</function>, <function>msql_free_result</function> </entry> - <entry>mSQL result</entry> + <entry>mSQL 결과</entry> </row> <row> <entry>mssql link</entry> @@ -1279,7 +1329,7 @@ <entry> <function>mssql_close</function> </entry> - <entry>Link to Microsft SQL Server database</entry> + <entry>마이크로소프트 SQL 서버 데이터베이스 연결</entry> </row> <row> <entry>mssql link persistent</entry> @@ -1293,7 +1343,7 @@ <entry> None </entry> - <entry>Persistent link to Microsft SQL Server</entry> + <entry>마이크로소프트 SQL 서버 지속 연결</entry> </row> <row> <entry>mssql result</entry> @@ -1317,7 +1367,7 @@ <entry> <function>mssql_free_result</function> </entry> - <entry>Microsft SQL Server result</entry> + <entry>마이크로소프트 SQL 서버 결과</entry> </row> <row> <entry>mysql link</entry> @@ -1349,7 +1399,7 @@ <entry> <function>mysql_close</function> </entry> - <entry>Link to MySQL database</entry> + <entry>MySQL 데이터베이스 연결</entry> </row> <row> <entry>mysql link persistent</entry> @@ -1381,7 +1431,7 @@ <entry> None </entry> - <entry>Persistent link to MySQL database</entry> + <entry>MySQL 데이터베이스 지속 연결</entry> </row> <row> <entry>mysql result</entry> @@ -1389,8 +1439,10 @@ <function>mysql_db_query</function>, <function>mysql_list_dbs</function>, <function>mysql_list_fields</function>, + <function>mysql_list_processes</function>, <function>mysql_list_tables</function>, - <function>mysql_query</function> + <function>mysql_query</function>, + <function>mysql_unbuffered_query</function> </entry> <entry> <function>mysql_data_seek</function>, @@ -1416,7 +1468,7 @@ <entry> <function>mysql_free_result</function> </entry> - <entry>MySQL result</entry> + <entry>MySQL 결과</entry> </row> <row> <entry>oci8 collection</entry> @@ -1442,7 +1494,7 @@ <entry> <function>ocilogoff</function> </entry> - <entry>Link to Oracle database</entry> + <entry>오라클 데이터베이스 연결</entry> </row> <row> <entry>oci8 descriptor</entry> @@ -1492,7 +1544,7 @@ <entry> <function>ocifreestatement</function> </entry> - <entry>Oracle Cursor</entry> + <entry>오라클 커서</entry> </row> <row> <entry>odbc link</entry> @@ -1524,12 +1576,12 @@ <entry> <function>odbc_close</function> </entry> - <entry>Link to ODBC database</entry> + <entry>ODBC 데이터베이스 연결</entry> </row> <row> <entry>odbc link persistent</entry> <entry> - <function>odbc_connect</function> + <function>odbc_pconnect</function> </entry> <entry> <function>odbc_autocommit</function>, @@ -1556,7 +1608,7 @@ <entry> None </entry> - <entry>Persistent link to ODBC database</entry> + <entry>ODBC 데이터베이스 지속 연결</entry> </row> <row> <entry>odbc result</entry> @@ -1585,7 +1637,7 @@ <entry> <function>odbc_free_result</function> </entry> - <entry>ODBC result</entry> + <entry>ODBC 결과</entry> </row> <row> <entry>birdstep link</entry> @@ -1616,7 +1668,7 @@ <entry> <function>openssl_free_key</function> </entry> - <entry>OpenSSL key</entry> + <entry>OpenSSL 키</entry> </row> <row> <entry>OpenSSL X.509</entry> @@ -1630,7 +1682,7 @@ <entry> <function>openssl_x509_free</function> </entry> - <entry>Public Key</entry> + <entry>공개키</entry> </row> <row> <entry>oracle Cursor</entry> @@ -1655,7 +1707,7 @@ <entry> <function>ora_close</function> </entry> - <entry>Oracle cursor</entry> + <entry>오라클 커서</entry> </row> <row> <entry>oracle link</entry> @@ -1675,7 +1727,7 @@ <entry> <function>ora_logoff</function> </entry> - <entry>Link to oracle database</entry> + <entry>오라클 데이터베이스 연결</entry> </row> <row> <entry>oracle link persistent</entry> @@ -1695,7 +1747,7 @@ <entry> None </entry> - <entry>Persistent link to oracle database</entry> + <entry>오라클 데이터베이스 지속 연결</entry> </row> <row> <entry>pdf document</entry> @@ -1774,13 +1826,24 @@ <function>pdf_stringwidth</function>, <function>pdf_stroke</function>, <function>pdf_translate</function>, + <function>pdf_add_thumbnail</function>, + <function>pdf_arcn</function>, + <function>pdf_begin_pattern</function>, + <function>pdf_begin_template</function>, + <function>pdf_end_pattern</function>, + <function>pdf_end_template</function>, + <function>pdf_initgraphics</function>, + <function>pdf_makespotcolor</function>, + <function>pdf_set_info</function>, + <function>pdf_setcolor</function>, + <function>pdf_setmatrix</function>, <function>pdf_open_memory_image</function> </entry> <entry> <function>pdf_close</function>, <function>pdf_delete</function> </entry> - <entry>PDF document</entry> + <entry>PDF 문서</entry> </row> <row> <entry>pdf image</entry> @@ -1798,7 +1861,7 @@ <entry> <function>pdf_close_image</function> </entry> - <entry>Image in PDF file</entry> + <entry>PDF 파일 안의 이미지</entry> </row> <row> <entry>pdf object</entry> @@ -1832,7 +1895,7 @@ <entry> <function>pg_lo_close</function> </entry> - <entry>PostgreSQL Large Object</entry> + <entry>PostgreSQL 라지 오브젝트</entry> </row> <row> <entry>pgsql link</entry> @@ -1877,7 +1940,7 @@ <entry> <function>pg_close</function> </entry> - <entry>Link to PostgreSQL database</entry> + <entry>PostgreSQL 데이터베이스 연결</entry> </row> <row> <entry>pgsql link persistent</entry> @@ -1922,12 +1985,14 @@ <entry> None </entry> - <entry>Persistent link to PostgreSQL database</entry> + <entry>PostgreSQL 데이터베이스 지속 연결</entry> </row> <row> <entry>pgsql result</entry> <entry> + <function>pg_execute</function>, <function>pg_query</function>, + <function>pg_query_params</function>, <function>pg_get_result</function> </entry> <entry> @@ -1950,7 +2015,7 @@ <entry> <function>pg_free_result</function> </entry> - <entry>PostgreSQL result</entry> + <entry>PostgreSQL 결과</entry> </row> <row> <entry>pgsql string</entry> @@ -2012,7 +2077,7 @@ <entry> None </entry> - <entry>pspell dictionary</entry> + <entry>pspell 사전</entry> </row> <row> <entry>pspell config</entry> @@ -2025,7 +2090,7 @@ <entry> None </entry> - <entry>pspell configuration </entry> + <entry>pspell 설정</entry> </row> <row> <entry>Sablotron XSLT</entry> @@ -2045,7 +2110,7 @@ <entry> <function>xslt_free</function> </entry> - <entry>XSLT parser</entry> + <entry>XSLT 파서</entry> </row> <row> <entry>shmop</entry> @@ -2079,7 +2144,7 @@ <entry> <function>close</function> </entry> - <entry>Socket</entry> + <entry>소켓</entry> </row> <row> <entry>sockets i/o vector</entry> @@ -2089,9 +2154,9 @@ <entry> </entry> </row> <row> - <entry>dir</entry> + <entry>stream</entry> <entry> - <function>dir</function> + <function>opendir</function> </entry> <entry> <function>readdir</function>, @@ -2100,12 +2165,13 @@ <entry> <function>closedir</function> </entry> - <entry>Dir handle</entry> + <entry>디렉토리 핸들</entry> </row> <row> - <entry>file</entry> + <entry>stream</entry> <entry> - <function>fopen</function> + <function>fopen</function>, + <function>tmpfile</function> </entry> <entry> <function>feof</function>, @@ -2129,12 +2195,14 @@ <entry> <function>fclose</function> </entry> - <entry>File handle</entry> + <entry>파일 핸들</entry> </row> <row> - <entry>pipe</entry> + <entry>stream</entry> <entry> - <function>popen</function> + <function>popen</function>, + <function>fsockopen</function>, + <function>pfsockopen</function> </entry> <entry> <function>feof</function>, @@ -2151,12 +2219,11 @@ <entry> <function>pclose</function> </entry> - <entry>Process handle</entry> + <entry>프로세스 핸들</entry> </row> <row> <entry>socket</entry> <entry> - <function>fsockopen</function> </entry> <entry> <function>fflush</function>, @@ -2172,16 +2239,9 @@ <entry> <function>fclose</function> </entry> - <entry>Socket handle</entry> + <entry>소켓 핸들</entry> </row> <row> - <entry>stream</entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - </row> - <row> <entry>sybase-db link</entry> <entry> <function>sybase_connect</function> @@ -2193,7 +2253,7 @@ <entry> <function>sybase_close</function> </entry> - <entry>Link to Sybase database using DB library</entry> + <entry>DB 라이브러리를 이용한 Sybase 데이터베이스 연결</entry> </row> <row> <entry>sybase-db link persistent</entry> @@ -2207,12 +2267,13 @@ <entry> None </entry> - <entry>Persistent link to Sybase database using DB library</entry> + <entry>DB 라이브러리를 이용한 Sybase 데이터베이스 지속 연결</entry> </row> <row> <entry>sybase-db result</entry> <entry> - <function>sybase_query</function> + <function>sybase_query</function>, + <function>sybase_unbuffered_query</function> </entry> <entry> <function>sybase_data_seek</function>, @@ -2228,7 +2289,7 @@ <entry> <function>sybase_free_result</function> </entry> - <entry>Sybase result using DB library</entry> + <entry>DB 라이브러리를 이용한 Sybase 결과</entry> </row> <row> <entry>sybase-ct link</entry> @@ -2243,7 +2304,7 @@ <entry> <function>sybase_close</function> </entry> - <entry>Link to Sybase database using CT library</entry> + <entry>CT 라이브러리를 이용한 Sybase 데이터베이스 연결</entry> </row> <row> <entry>sybase-ct link persistent</entry> @@ -2258,7 +2319,7 @@ <entry> None </entry> - <entry>Persistent link to Sybase database using CT library</entry> + <entry>CT 라이브러리를 이용한 Sybase 데이터베이스 지속 연결</entry> </row> <row> <entry>sybase-ct result</entry> @@ -2279,7 +2340,7 @@ <entry> <function>sybase_free_result</function> </entry> - <entry>Sybase result using CT library</entry> + <entry>CT 라이브러리를 이용한 Sybase 결과</entry> </row> <row> <entry>sysvsem</entry> @@ -2292,7 +2353,7 @@ <entry> <function>sem_release</function> </entry> - <entry>System V Semaphore</entry> + <entry>System V 세마포어</entry> </row> <row> <entry>sysvshm</entry> @@ -2308,7 +2369,7 @@ <entry> <function>shm_detach</function> </entry> - <entry>System V Shared Memory</entry> + <entry>System V 공유 메모리</entry> </row> <row> <entry>wddx</entry> @@ -2321,12 +2382,13 @@ <entry> <function>wddx_packet_end</function> </entry> - <entry>WDDX packet</entry> + <entry>WDDX 패킷</entry> </row> <row> <entry>xml</entry> <entry> - <function>xml_parser_create</function> + <function>xml_parser_create</function>, + <function>xml_parser_create_ns</function> </entry> <entry> <function>xml_set_object</function>, @@ -2350,7 +2412,7 @@ <entry> <function>xml_parser_free</function> </entry> - <entry>XML parser</entry> + <entry>XML 파서</entry> </row> <row> <entry>zlib</entry> @@ -2373,7 +2435,7 @@ <entry> <function>gzclose</function> </entry> - <entry>gz-compressed file</entry> + <entry>gz-압축 파일</entry> </row> </tbody> </tgroup> http://cvs.php.net/viewvc.cgi/phpdoc-kr/appendices/transports.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/appendices/transports.xml diff -u phpdoc-kr/appendices/transports.xml:1.4 phpdoc-kr/appendices/transports.xml:1.5 --- phpdoc-kr/appendices/transports.xml:1.4 Sun Nov 9 18:31:46 2008 +++ phpdoc-kr/appendices/transports.xml Mon Nov 17 14:22:38 2008 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: fuzzy74 Status: ready --> -<appendix xml:id="transports" xmlns="http://docbook.org/ns/docbook"> +<!-- EN-Revision: 1.17 Maintainer: progcom Status: ready --> +<!-- CREDITS: fuzzy74 --> +<appendix xml:id="transports" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>지원되는 소켓 전송 목록</title> <para> 다음은 <function>fsockopen</function>과 <function>stream_socket_client</function>같은 @@ -12,13 +12,17 @@ </para> <para> - 설치된 <literal>PHP</literal> 버전안에 사용가능한 전송 리스트를 보려면 + 설치된 PHP 버전안에 사용가능한 전송 리스트를 보려면 <function>stream_get_transports</function>를 사용하라. </para> <section xml:id="transports.inet"> <title>인터넷 도메인: TCP, UDP, SSL, TLS</title> - <simpara>PHP 3, PHP 4. <literal>ssl://</literal> &amp; PHP 4.3이후의 <literal>tls://</literal></simpara> + <simpara> + PHP 4, PHP 5, PHP 6. + PHP 4.3.0부터 <literal>ssl://</literal> &amp; <literal>tls://</literal> + PHP 5.0.2부터 <literal>sslv2://</literal> &amp; <literal>sslv3://</literal> + </simpara> <note> <simpara> @@ -35,13 +39,15 @@ <listitem><simpara><literal>tcp://www.example.com</literal></simpara></listitem> <listitem><simpara><literal>udp://www.example.com</literal></simpara></listitem> <listitem><simpara><literal>ssl://www.example.com</literal></simpara></listitem> + <listitem><simpara><literal>sslv2://www.example.com</literal></simpara></listitem> + <listitem><simpara><literal>sslv3://www.example.com</literal></simpara></listitem> <listitem><simpara><literal>tls://www.example.com</literal></simpara></listitem> </itemizedlist> <simpara> 인터넷 도메인 소켓은 목표 주소에 더하여 포트 번호가 올것을 예상할수 있다. <function>fsockopen</function>의 경우 이것은 두번째 - 인수에서 설정되고 따라서 전송 url의 구성에 영향을 주지 않는다. + 인수에서 설정되고 따라서 전송 URL의 구성에 영향을 주지 않는다. <function>stream_socket_client</function>와 이와 관련된 함수는 전통적인 URL을 갖는다. 포트 번호는 전송 URL의 끝에 콜론으로 구분되어 덧붙여진다. </simpara> @@ -67,105 +73,23 @@ <literal>ssl://</literal> 과 <literal>tls://</literal> 전송은 (openssl 지원이 PHP안에 컴파일되었을때만 가용) SSL 암호화를 포함하는 <literal>tcp://</literal> 전송의 확장이다. - <literal>PHP 4.3.0</literal>이후에 OpenSSL 지원은 <literal>PHP</literal>와 - 정적으로 컴파일되어야 한다. <literal>PHP 5.0.0</literal> 이후부터는 + PHP 4.3.0 이후에 OpenSSL 지원은 PHP와 + 정적으로 컴파일되어야 한다. PHP 5.0.0 이후부터는 모듈이건 정적이건 아무거나 컴파일 되어 사용될수 있을것이다. </simpara> - <para> - <table> - <title> - <literal>ssl://</literal>와 <literal>tls://</literal>에 대한 환경 옵션 - (<literal>PHP 4.3.2</literal> 이후 버전) - </title> - <tgroup cols="4"> - <thead> - <row> - <entry>이름</entry> - <entry>용도</entry> - <entry>기본값</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>verify_peer</literal></entry> - <entry> - &true; or &false;. - 사용되는 SSL 인증의 조회를 요구 - </entry> - <entry>&false;</entry> - </row> - <row> - <entry><literal>allow_self_signed</literal></entry> - <entry> - &true; or &false;. - 자체-사인된 인증을 허용 - </entry> - <entry>&false;</entry> - </row> - <row> - <entry><literal>cafile</literal></entry> - <entry> - 원격단의 신원을 인증하기 위한 <literal>verify_peer</literal> 환경 옵션으로 - 사용될수 있는 로컬 파일시스템상의 인증 증명서 파일의 위치 - </entry> - <entry></entry> - </row> - <row> - <entry><literal>capath</literal></entry> - <entry> - <literal>cafile</literal>에서 설정되지 않거나 인증서를 거기서 찾을수 없다면, - <literal>capath</literal>에 의해 지정된 디렉토리에서 적절한 인증서를 검색한다. - <literal>capath</literal>는 정확하게 해쉬된 인증서 디렉토리여야 한다. - </entry> - <entry></entry> - </row> - <row> - <entry><literal>local_cert</literal></entry> - <entry> - 파일시스템 상의 로컬 인증서 파일로의 경로. 인증과 개인키를 포함하는 - 인코딩된 PEM 파일이 되어야 한다. 이것은 요구자의 인증 체인을 - 선택적으로 포함할수 있다. - </entry> - <entry></entry> - </row> - <row> - <entry><literal>passphrase</literal></entry> - <entry> - 인코딩된 <literal>local_cert</literal>파일의 패스구절(passphrase). - </entry> - <entry></entry> - </row> - <row> - <entry><literal>CN_match</literal></entry> - <entry> - Common Name 이 와야 함. PHP는 제한된 와일드카드 비교를 수행할것이다. - Common Name이 이와 일치하지 않으면, 접속시도가 실패할것이다. - </entry> - <entry></entry> - </row> - </tbody> - </tgroup> - </table> - </para> - - <note> - <simpara> - <literal>ssl://</literal>은 - <link linkend="wrappers.http"><literal>https://</literal></link>와 - <link linkend="wrappers.ftp"><literal>ftps://</literal></link> 래퍼를 - 위한 중요한 전송이기 때문에, - <literal>ssl://</literal>에 적용되는 환경 옵션은 - <literal>https://</literal>와 <literal>ftps://</literal>에도 적용된다. - </simpara> - </note> + <simpara> + <literal>ssl://</literal>은 원격 호스트의 가용성과 설정에 의존하여 SSL V2나 + SSL V3 접속을 허용합니다. <literal>sslv2://</literal>와 + <literal>sslv3://</literal>는 명시적으로 SSL V2나 SSL V3를 선택합니다. + </simpara> </section> <section xml:id="transports.unix"> - <title>유닉스 도메인: UNIX와 UDG</title> + <title>유닉스 도메인: Unix와 UDG</title> <simpara> - <literal>PHP 3</literal> 이후의 <literal>unix://</literal>, - <literal>PHP 5</literal> 이후의 <literal>udg://</literal> + <literal>unix://</literal>와 + <literal>udg://</literal> (udg://는 PHP 5부터) </simpara> <itemizedlist> @@ -175,7 +99,7 @@ <simpara> <literal>unix://</literal>는 유닉스 도메인에 대한 소켓 스트림 접속 시도를 - 제공한다. <literal>udg://</literal>는 user datagram protocol을 사용하는 + 제공한다. <literal>udg://</literal>는 사용자 데이터그램 프로토콜을 사용하는 유닉스 도메인 소켓에 대한 대체 전송을 제공한다. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc-kr/install/pecl.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/install/pecl.xml diff -u phpdoc-kr/install/pecl.xml:1.4 phpdoc-kr/install/pecl.xml:1.5 --- phpdoc-kr/install/pecl.xml:1.4 Thu Nov 13 15:40:53 2008 +++ phpdoc-kr/install/pecl.xml Mon Nov 17 14:22:38 2008 @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.17 Maintainer: acidd15 Status: ? --> +<!-- EN-Revision: 1.20 Maintainer: progcom Status: ready --> +<!-- CREDITS: acidd15 --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>PECL 확장의 설치</title> @@ -90,19 +91,172 @@ </sect1> <sect1 xml:id="install.pecl.windows"> - <title>윈도우 사용자들을 위한 PECL</title> - <simpara> - 다른 PHP 확장 <acronym>DLL</acronym> 처럼, PECL 확장 DLL들을 간단하게 <link linkend="ini.extension-dir"> - extension_dir</link> 폴더에 복사하여 설치하고, &php.ini; 에서 로딩 합니다. 예를 들면, 다음 라인을 &php.ini;에 추가하십시오: - </simpara> + <title>PHP 확장 설치하기</title> <para> - <screen> -extension=php_extname.dll - </screen> + 윈도우에서, PHP 확장을 적재하는 두가지 방법이 있습니다: PHP 안에 + 컴파일하거나, DLL을 적재. 미리 컴파일된 확장을 적재하는 것이 쉽고 편한 + 방법입니다. </para> - <simpara> - 이것을 한 다음에는, 웹서비스를 다시 시작하십시오. - </simpara> + <para> + 확장을 적재하려면, 시스템에 해당하는 ".dll" 파일이 있어야 합니다. 모든 + 확장은 자동으로 주기적으로 PHP 그룹에서 컴파일합니다. (내려받기는 다음 + 섹션을 참고하십시오) + </para> + <para> + 확장을 PHP 안에 컴파일하려면, <link + linkend="install.windows.building">소스에서 빌드하기</link> 문서를 + 확인하십시오. + </para> + <para> + 독립 확장(DLL 파일)을 컴파일하려면, <link + linkend="install.windows.building">소스에서 빌드하기</link> 문서를 + 확인하십시오. DLL 파일이 PHP 배포판이나 PECL에 존재하지 않는다면, 그 확장을 + 사용하기 전에 컴파일해야 합니다. + </para> + </sect1> + + <sect1 xml:id="install.pecl.windows.find"> + <title>확장을 어디에서 찾나요?</title> + <para> + PHP 확장은 일반적으로 "php_*.dll"(별은 확장 이름)로 불리고, "PHP\ext"(PHP + 4에서는 "PHP\extensions") 폴더에 위치하고 있습니다. + </para> + <para> + PHP는 대다수의 개발자에게 가장 유용한 확장을 포함하고 있습니다. 이들은 + "핵심" 확장이라고 불립니다. + </para> + <para> + 그러나, 핵심 확장에서 지원하지 않는 기능이 필요하면, PECL에서 찾을 수 + 있습니다. PHP Extension Community Library (PECL)는 PHP 확장의 저장고로, + 알려진 모든 알려진 확장의 디렉토리를 제공하고, PHP 확장 개발과 내려받기에 + 필요한 기능을 지원합니다. + </para> + <para> + 스스로 사용할 확장을 개발했다면, PECL에 올려서 같은 요구를 가진 다른 + 사람들에게 혜택을 제공할 수 있습니다. 좋은 추가 효과로 다른 사람들의 + 피드백, 감사, 버그 보고와 심지어 픽스/패치를 받을 수 있습니다. PECL에 + 확장을 제공하기 전에, &url.pecl.submit;를 읽어보십시오. + </para> + + <sect2 xml:id="install.pecl.windows.which"> + <title>어떤 확장을 내려받나요?</title> + <para> + <emphasis>많은 경우에, 각 DLL의 여러 버전을 찾을 수 있습니다:</emphasis> + <itemizedlist> + <listitem> + <simpara> + 다른 버전 번호 (적어도 처음 두 숫자는 일치) + </simpara> + </listitem> + <listitem> + <simpara> + 쓰레드 안전 설정 차이 + </simpara> + </listitem> + <listitem> + <simpara> + 프로세서 설정 차이 (x86, 64비트...) + </simpara> + </listitem> + <listitem> + <simpara> + 디버그 설정 차이 + </simpara> + </listitem> + <listitem> + <simpara> + <literal>기타</literal> + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + 확장 설정이 사용하는 PHP 실행 설정과 일치해야만 합니다. 다음 PHP + 스크립트가 <emphasis>모든</emphasis> PHP 설정을 알려줍니다: + <screen> +<![CDATA[ +<?php +phpinfo(); +?> +]]> + </screen> + </para> + <para> + 또는 명령줄에서, 실행: + <screen> +<![CDATA[ +drive:\\path\to\php\executable\php.exe -i +]]> + </screen> + </para> + </sect2> + + <sect2 xml:id="install.pecl.windows.loading"> + <title>확장 적재하기</title> + <para> + PHP 확장을 적재하는 가장 일반적인 방법은 <filename>php.ini</filename> 설정 + 파일에 포함하는 것입니다. 많은 확장이 이미 <filename>php.ini</filename>에 + 존재하고, 세미콜론을 제거하면 바로 활성화됩니다. + <screen> +<![CDATA[ +;extension=php_extname.dll +]]> + </screen> + <screen> +<![CDATA[ +extension=php_extname.dll +]]> + </screen> + </para> + <para> + 그러나, 일부 웹서버는 PHP 실행에 놓여있는 php.ini를 사용하지 않아서 혼동을 + 가져옵니다. 정확한 <filename>php.ini</filename>의 위치를 확인하려면, + <function>phpinfo</function>에서 경로를 찾아보십시오: + <screen> +<![CDATA[ +Configuration File (php.ini) Path C:\WINDOWS +]]> + </screen> + <screen> +<![CDATA[ +Loaded Configuration File C:\Program Files\PHP\5.2\php.ini +]]> + </screen> + </para> + <para> + 확장을 활성화한 후, <filename>php.ini</filename>을 저장, 웹서버를 + 재시작하고 <function>phpinfo</function>를 다시 확인하십시오. 새 확장이 + 자신의 섹션을 가지고 있어야 합니다. + </para> + </sect2> + + <sect2 xml:id="install.pecl.windows.problemsolving"> + <title>문제 해결</title> + <para> + 확장이 <function>phpinfo</function>에 나타나지 않으면, 어디서 문제가 + 발생하였는지 로그를 확인해야 합니다. + </para> + <para> + PHP를 명령줄(CLI)에서 사용한다면, 확장 적재 오류를 화면에서 바로 읽을 수 + 있습니다. + </para> + <para> + PHP를 웹서버에서 사용하면, 로그의 위치와 형식은 웹서버 소프트웨어에 + 의존합니다. 웹서버 문서에서 로그 위치를 찾아서 읽어보십시오. PHP 자체로는 + 아무것도 하지 않습니다. + </para> + <para> + 일반적인 문제는 DLL 위치입니다. <literal>php.ini</literal> 안의 "<link + linkend="ini.extension-dir">extension_dir</link>" 값이 컴파일시 설정과 + 일치하지 않아서 발생합니다. + </para> + <para> + 문제가 컴파일시 설정이 일치하지 않는 것이라면, 아마도 옮은 DLL을 내려받지 + 않았을 것입니다. 적합한 설정을 가진 확장을 다시 내려받아 보십시오. 다시 + 말하지만, <function>phpinfo</function>가 큰 도움이 될 것입니다. + </para> + </sect2> + </sect1> <sect1 xml:id="install.pecl.pear"> http://cvs.php.net/viewvc.cgi/phpdoc-kr/install/problems.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-kr/install/problems.xml diff -u phpdoc-kr/install/problems.xml:1.3 phpdoc-kr/install/problems.xml:1.4 --- phpdoc-kr/install/problems.xml:1.3 Mon Jul 21 08:22:14 2008 +++ phpdoc-kr/install/problems.xml Mon Nov 17 14:22:38 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.3 Maintainer: acidd15 Status: ? --> +<!-- EN-Revision: 1.4 Maintainer: acidd15 Status: ? --> <chapter xml:id="install.problems" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>문제가 있습니까?</title> @@ -27,7 +27,8 @@ </simpara> <simpara> 메일링 리스트로부터 도움을 얻길 원한다면, 필요한 세부 환경( 어떤 운영체제 인지, - PHP 버전이 무엇인지, 무슨 웹서버 인지, PHP를 돌리고 있다면 CGI방식인지 웹서버 모듈 방식인지, &safemode;, 등등...)과 함께, + PHP 버전이 무엇인지, 무슨 웹서버 인지, PHP를 돌리고 있다면 CGI방식인지 + 웹서버 모듈 방식인지, &safemode;, 등등)과 함께, 되도록이면 다른 사람들이 문제를 재현하고 테스트 할수 있도록 충분한 코드를 명확하게 알려주시기 바랍니다. </simpara> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/url/functions/get-meta-tags.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/url/functions/get-meta-tags.xml diff -u phpdoc-kr/reference/url/functions/get-meta-tags.xml:1.4 phpdoc-kr/reference/url/functions/get-meta-tags.xml:1.5 --- phpdoc-kr/reference/url/functions/get-meta-tags.xml:1.4 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/url/functions/get-meta-tags.xml Mon Nov 17 14:22:39 2008 @@ -1,56 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> - <refentry xml:id="function.get-meta-tags" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>get_meta_tags</refname> - <refpurpose> - 파일에서 모든 메타 태그 내용 요소를 추출하여 배열로 반환합니다. - </refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>array</type><methodname>get_meta_tags</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>filename</parameter>을 열어서 파일에서 줄 단위로 - &lt;meta&gt; 태그를 처리합니다. 이는 로컬 파일이나 <acronym>URL</acronym>이 - 가능합니다. <literal>&lt;/head&gt;</literal>을 만나면 중지합니다. - </para> - <para> - <parameter>use_include_path</parameter>를 1로 설정하면 - PHP는 파일을 표준 인크루드 경로 <link - linkend="ini.include-path">include_path</link> 지시어에 - 따라 찾습니다. 이는 로컬 파일에 사용하여, URL은 적용하지 않습니다. - </para> - <para> - <example> - <title><function>get_meta_tags</function>가 처리하는 것</title> - <programlisting role="html"> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xml:id="function.get-meta-tags" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>get_meta_tags</refname> + <refpurpose>파일에서 모든 메타 태그 내용 요소를 추출하여 배열로 반환</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>get_meta_tags</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>filename</parameter> 파일을 열어서 줄 단위로 + &lt;meta&gt; 태그를 해석합니다. <literal>&lt;/head&gt;</literal>에서 해석을 + 종료합니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + 문자열로 주어지는 HTML 파일 경로. 로컬 파일이나 + <acronym>URL</acronym>일 수 있습니다. + </para> + <para> + <example> + <title><function>get_meta_tags</function>가 해석하는 것</title> + <programlisting role="html"> <![CDATA[ <meta name="author" content="name"> <meta name="keywords" content="php documentation"> <meta name="DESCRIPTION" content="a php manual"> <meta name="geo.position" content="49.33;-86.59"> -</head> <!-- 여기서 파싱 정지 --> +</head> <!-- 여기서 해석 종료 --> ]]> - </programlisting> - </example> - (라인 끝에 주의하십시오 - PHP는 입력을 처리하는 내부 함수를 - 사용하기 때문에 맥 파일은 유닉스에서 작동하지 않습니다.) - </para> - <para> - name 속성값이 키가 되고, content 속성값이 반환 배열의 값이 됩니다. - 간단히 표준 배열 함수로 변환하거나, 하나의 값에 접근할 수 있습니다. - name 속성값의 특수 문자는 '_'로 치환하고, 나머지는 소문자로 변경합니다. - 두 메타 태그가 같은 이름을 가지면, 마지막 것만을 반환합니다. - </para> - <para> - <example> - <title><function>get_meta_tags</function>가 반환하는 것</title> - <programlisting role="php"> + </programlisting> + </example> + (라인 종료에 주의하십시오 - PHP는 입력을 해석하는 내부 함수를 + 사용하기 때문에 맥 파일은 유닉스에서 작동하지 않습니다) + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>use_include_path</parameter></term> + <listitem> + <para> + <parameter>use_include_path</parameter>를 &true;로 설정하면 <link + linkend="ini.include-path">include_path</link> 지시어에 따른 표준 포함 + 경로에 따라서 파일 열기를 시도합니다. 이는 로컬 파일에 사용되며, URL에는 + 사용되지 않습니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 모든 해석한 메타 태그를 가진 배열을 반환합니다. + </para> + <para> + 반환되는 배열에서 name 속성값이 키가 되고, content 속성값이 값이 됩니다. + 그러므로, 간단하게 표준 배열 함수를 사용하여 변환하거나 하나의 값에 접근할 + 수 있습니다. name 속성값의 특수 문자는 '_'로 치환하고, 나머지는 소문자로 + 변경합니다. 두 메타 태그가 같은 이름을 가지면, 마지막 것만을 반환합니다. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.0.5</entry> + <entry> + 따옴표 없는 HTML 속성 지원 추가 + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>get_meta_tags</function>가 반환하는 것</title> + <programlisting role="php"> <![CDATA[ <?php // 위의 태그가 www.example.com에 있다고 가정하면 @@ -64,21 +120,22 @@ echo $tags['geo_position']; // 49.33;-86.59 ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - PHP 4.0.5 부터, <function>get_meta_tags</function>은 따옴표 없는 - HTML 속성을 지원합니다. - </para> - </note> - <para> - 참고: <function>htmlentities</function>, - <function>urlencode</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>htmlentities</function></member> + <member><function>urlencode</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/url/functions/http-build-query.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-kr/reference/url/functions/http-build-query.xml diff -u phpdoc-kr/reference/url/functions/http-build-query.xml:1.7 phpdoc-kr/reference/url/functions/http-build-query.xml:1.8 --- phpdoc-kr/reference/url/functions/http-build-query.xml:1.7 Mon Nov 10 07:09:24 2008 +++ phpdoc-kr/reference/url/functions/http-build-query.xml Mon Nov 17 14:22:39 2008 @@ -1,68 +1,148 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.8 Maintainer: progcom Status: ready --> - <refentry xml:id="function.http-build-query" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>http_build_query</refname> - <refpurpose>URL 인코드한 쿼리 문자열을 생성합니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>string</type><methodname>http_build_query</methodname> - <methodparam><type>array</type><parameter>formdata</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>numeric_prefix</parameter></methodparam> - </methodsynopsis> - - <simpara> - 주어진 연관(혹은 인덱스) 배열에서 URL 인코드한 쿼리 문자열을 생성합니다. - <parameter>formdata</parameter>는 배열이나 속성을 가지는 객체일 수 - 있습니다. <parameter>formdata</parameter>는 단순한 1차원 구조일수도, 혹은 - (다른 배열을 포함한)배열의 배열일 수 있습니다. 기본 배열에 숫자 인덱스를 - 사용하고 <parameter>numeric_prefix</parameter>가 주어지면, 기본 배열 안의 - 숫자 인덱스 앞에 덧붙여집니다. 이는 <literal>PHP</literal>나 다른 CGI - 어플리케이션에 적합한 변수명을 가지도록 합니다. - </simpara> - - <example> - <title><function>http_build_query</function>의 간단한 사용법</title> - <programlisting role="php"> +<!-- EN-Revision: 1.17 Maintainer: progcom Status: ready --> +<refentry xml:id="function.http-build-query" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>http_build_query</refname> + <refpurpose>URL 인코드한 쿼리 문자열 생성</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>http_build_query</methodname> + <methodparam><type>array</type><parameter>formdata</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>numeric_prefix</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>arg_separator</parameter></methodparam> + </methodsynopsis> + + <para> + 주어진 연관(혹은 인덱스) 배열에서 URL 인코드한 쿼리 문자열을 생성합니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>formdata</parameter></term> + <listitem> + <para> + 속성을 가지는 배열이나 객체. + </para> + <para> + 배열 형식은 간단한 1차원 구조나, 배열의 배열(다른 배열을 포함한 배열)일 + 수 있습니다. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>numeric_prefix</parameter></term> + <listitem> + <para> + 기반 배열에 숫자 인덱스가 사용되고 이 인수가 주어지면, 이 인수가 기반 + 배열의 숫자 인덱스 앞에 덧붙여집니다. + </para> + <para> + 이는 데이터가 PHP에서 디코드되거나 다른 CGI 어플리케이션을 사용할 때 + 적합한 변수명을 가지도록 해줍니다. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>arg_separator</parameter></term> + <listitem> + <para> + 이 인수가 주어지지 않으면, <link + linkend="ini.arg-separator.output">arg_separator.output</link>을 + 사용합니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + URL 인코드한 문자열을 반환합니다. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.1.2</entry> + <entry> + <parameter>arg_separator</parameter> 인수 추가. + </entry> + </row> + <row> + <entry>5.1.3</entry> + <entry> + 대괄호를 이스케이프 합니다. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <example> + <title><function>http_build_query</function>의 간단한 사용법</title> + <programlisting role="php"> <![CDATA[ <?php $data = array('foo'=>'bar', 'baz'=>'boom', 'cow'=>'milk', 'php'=>'hypertext processor'); - + echo http_build_query($data); // foo=bar&baz=boom&cow=milk&php=hypertext+processor +echo http_build_query($data, '', '&amp;'); // foo=bar&amp;baz=boom&amp;cow=milk&amp;php=hypertext+processor ?> ]]> - </programlisting> - </example> + </programlisting> + </example> - <example> - <title><function>http_build_query</function>와 숫자 인덱스 요소.</title> - <programlisting role="php"> + <example> + <title><function>http_build_query</function>와 숫자 인덱스 요소.</title> + <programlisting role="php"> <![CDATA[ <?php $data = array('foo', 'bar', 'baz', 'boom', 'cow' => 'milk', 'php' =>'hypertext processor'); - -echo http_build_query($data); -/* 출력: - 0=foo&1=bar&2=baz&3=boom&cow=milk&php=hypertext+processor - */ - + +echo http_build_query($data) . "\n"; echo http_build_query($data, 'myvar_'); -/* 출력: - myvar_0=foo&myvar_1=bar&myvar_2=baz&myvar_3=boom&cow=milk&php=hypertext+processor - */ ?> ]]> - </programlisting> - </example> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +0=foo&1=bar&2=baz&3=boom&cow=milk&php=hypertext+processor +mybar_0=foo&mybar_1=bar&mybar_2=baz&mybar_3=boom&cow=milk&php=hypertext+processor +]]> + </screen> + </example> - <example> - <title><function>http_build_query</function>와 복잡한 배열</title> - <programlisting role="php"> + <example> + <title><function>http_build_query</function>와 복잡한 배열</title> + <programlisting role="php"> <![CDATA[ <?php $data = array('user'=>array('name'=>'Bob Smith', @@ -75,66 +155,71 @@ 'sally'=>array('age'=>8, 'sex'=>'F')), 'CEO'); - + echo http_build_query($data, 'flags_'); ?> ]]> - </programlisting> - <para> - 출력은(읽기 편하도록 줄바꿈 처리): - </para> - <screen> + </programlisting> + <para> + 출력(읽기 편하도록 줄바꿈 처리): + </para> + <screen> <![CDATA[ -user[name]=Bob+Smith&user[age]=47&user[sex]=M&user[dob]=5%1F12%1F1956& -pastimes[0]=golf&pastimes[1]=opera&pastimes[2]=poker&pastimes[3]=rap& -children[bobby][age]=12&children[bobby][sex]=M&children[sally][age]=8& -children[sally][sex]=F&flags_0=CEO +user%5Bname%5D=Bob+Smith&user%5Bage%5D=47&user%5Bsex%5D=M& +user%5Bdob%5D=5%1F12%1F1956&pastimes%5B0%5D=golf&pastimes%5B1%5D=opera& +pastimes%5B2%5D=poker&pastimes%5B3%5D=rap&children%5Bbobby%5D%5Bage%5D=12& +children%5Bbobby%5D%5Bsex%5D=M&children%5Bsally%5D%5Bage%5D=8& +children%5Bsally%5D%5Bsex%5D=F&flags_0=CEO ]]> - </screen> + </screen> + <para> + <note> <para> - <note> - <para> - 기본 배열의 숫자 인덱스 요소인 "CEO"만이 전치사를 가집니다. - 내부에 존재하는 다른 숫자 인덱스는, 적합한 변수명을 가지기 - 위한 문자열 전치사가 필요하지 않습니다. - </para> - </note> + 기본 배열의 숫자 인덱스 요소인 "CEO"만이 전치사를 가집니다. + 내부에 존재하는 다른 숫자 인덱스는, 적합한 변수명을 가지기 + 위한 문자열 전치사가 필요하지 않습니다. </para> - </example> - - <example> - <title><function>http_build_query</function>에 객체 사용하기</title> - <programlisting role="php"> + </note> + </para> + </example> + + <example> + <title><function>http_build_query</function>에 객체 사용하기</title> + <programlisting role="php"> <![CDATA[ <?php class myClass { - var $foo; - var $baz; - - function myClass() - { - $this->foo = 'bar'; - $this->baz = 'boom'; - } + var $foo; + var $baz; + + function myClass() { + $this->foo = 'bar'; + $this->baz = 'boom'; + } } $data = new myClass(); echo http_build_query($data); // foo=bar&baz=boom + ?> ]]> - </programlisting> - </example> - - <simpara> - 참고: - <function>parse_str</function>, - <function>parse_url</function>, - <function>urlencode</function>, - <function>array_walk</function> - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>parse_str</function></member> + <member><function>parse_url</function></member> + <member><function>urlencode</function></member> + <member><function>array_walk</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/url/functions/rawurlencode.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/url/functions/rawurlencode.xml diff -u phpdoc-kr/reference/url/functions/rawurlencode.xml:1.5 phpdoc-kr/reference/url/functions/rawurlencode.xml:1.6 --- phpdoc-kr/reference/url/functions/rawurlencode.xml:1.5 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/url/functions/rawurlencode.xml Mon Nov 17 14:22:39 2008 @@ -1,61 +1,109 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> - <refentry xml:id="function.rawurlencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>rawurlencode</refname> - <refpurpose>RFC 1738에 따라 URL을 인코드합니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>string</type><methodname>rawurlencode</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - </methodsynopsis> - <para> - <literal>-_.</literal>을 제외한 모든 영숫자가 아닌 문자를 - 퍼센트(<literal>%</literal>) 사인에 이어지는 두 16진수로 교체한 - 문자열을 반환합니다. 이는 표시 문자가 특별한 URL 구분자로 해석되는걸 - 방지하고, 문자 변환이 이루어지는 전송 매체(몇몇 email 시스템 등)에서 - URL을 보호하기 위한 RFC 1738에 설명된 인코딩입니다. 예를 들어, - FTP URL에 패스워드를 포함하고자 한다면: - </para> - <para> - <example> - <title><function>rawurlencode</function> 예제 1</title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.rawurlencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>rawurlencode</refname> + <refpurpose>RFC 1738에 따른 URL 인코드</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>rawurlencode</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + </methodsynopsis> + <para> + 주어진 문자열을 <link xlink:href="&url.rfc;1738">RFC 1738</link>에 따라 + 인코드합니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> + <para> + 인코드할 URL + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <literal>-_.</literal>을 제외한 모든 영숫자가 아닌 문자를 + 퍼센트(<literal>%</literal>) 사인에 이어지는 두 16진수로 교체한 + 문자열을 반환합니다. 이는 표시 문자가 특별한 URL 구분자로 해석되는걸 + 방지하고, 문자 변환이 이루어지는 전송 매체(몇몇 email 시스템 등)에서 + URL을 보호하기 위한 <link xlink:href="&url.rfc;1738">RFC 1738</link>에 + 설명된 인코딩입니다. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>FTP URL에 패스워드 포함하기</title> + <programlisting role="php"> <![CDATA[ <?php echo '<a href="ftp://user:', rawurlencode('foo @+%/'), '@ftp.example.com/x.txt">'; ?> ]]> - </programlisting> - </example> - </para> - <para> - 혹은, URL의 PATH_INFO 안에 경로 정보를 전달하고자 한다면: - </para> - <para> - <example> - <title><function>rawurlencode</function> 예제 2</title> - <programlisting role="php"> + </programlisting> + &example.outputs; + <screen role="html"> +<![CDATA[ +<a href="ftp://user:foo%20%40%2B%25%2F@ftp.example.com/x.txt"> +]]> + </screen> + </example> + </para> + <para> + 혹은, URL의 PATH_INFO 안에 경로 정보를 전달하고자 한다면: + </para> + <para> + <example> + <title><function>rawurlencode</function> 예제 2</title> + <programlisting role="php"> <![CDATA[ <?php echo '<a href="http://example.com/department_list_script/', rawurlencode('sales and marketing/Miami'), '">'; ?> ]]> - </programlisting> - </example> - </para> - <simpara> - 참고: <function>rawurldecode</function>, - <function>urldecode</function>, - <function>urlencode</function>, - <link xlink:href="&url.rfc;1738">RFC 1738</link>. - </simpara> - </refsect1> - </refentry> + </programlisting> + &example.outputs; + <screen role="html"> +<![CDATA[ +<a href="http://example.com/department_list_script/sales%20and%20marketing%2FMiami"> +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>rawurldecode</function></member> + <member><function>urldecode</function></member> + <member><function>urlencode</function></member> + <member><link xlink:href="&url.rfc;1738">RFC 1738</link></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/url/functions/urlencode.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/url/functions/urlencode.xml diff -u phpdoc-kr/reference/url/functions/urlencode.xml:1.6 phpdoc-kr/reference/url/functions/urlencode.xml:1.7 --- phpdoc-kr/reference/url/functions/urlencode.xml:1.6 Mon Nov 10 07:09:24 2008 +++ phpdoc-kr/reference/url/functions/urlencode.xml Mon Nov 17 14:22:39 2008 @@ -1,71 +1,117 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> - <refentry xml:id="function.urlencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>urlencode</refname> - <refpurpose>문자열을 URL 인코드합니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>string</type><methodname>urlencode</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - </methodsynopsis> - <para> - <literal>-_.</literal>을 제외한 모든 영숫자가 아닌 문자를 - 퍼센트(<literal>%</literal>) 사인에 이어지는 두 16진수로 교체하고 - 공백은 플러스(<literal>+</literal>) 사인으로 교체한 문자열을 - 반환합니다. 이는 WWW 폼에서 인코드한 포스트 데이터, - <literal>application/x-www-form-urlencoded</literal> 매체형과 같은 - 방식의 인코드입니다. 역사적인 이유로 공백을 플러스(+) 사인으로 - 인코드 하는 점이 RFC1738 인코딩(<function>rawurlencode</function> 참고)과 - 다릅니다. 이 함수는 URL의 쿼리 부분에 사용하는 문자열을 인코딩할 때 - 편리합니다. 다음과 같이 다음 페이지로 변수를 전달합니다: - <example> - <title><function>urlencode</function> 예제</title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.urlencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>urlencode</refname> + <refpurpose>문자열을 URL 인코드</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>urlencode</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + </methodsynopsis> + <para> + 이 함수는 URL의 쿼리 부분에 사용할 수 있도록 문자열을 인코드할 때 + 편리합니다. 다음 페이지로 편하게 변수를 전달할 수 있습니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> + <para> + 인코드할 문자열. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <literal>-_.</literal>을 제외한 모든 영숫자가 아닌 문자를 + 퍼센트(<literal>%</literal>) 사인에 이어지는 두 16진수로 교체하고 + 공백은 플러스(<literal>+</literal>) 사인으로 교체한 문자열을 + 반환합니다. 이는 WWW 폼에서 인코드한 포스트 데이터, + <literal>application/x-www-form-urlencoded</literal> 매체형과 같은 + 방식의 인코드입니다. 역사적인 이유로 공백을 더하기 부호(+)로 + 인코드 하는 점이 <link xlink:href="&url.rfc;1738">RFC 1738</link> + 인코딩(<function>rawurlencode</function> 참고)과 다릅니다. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>urlencode</function> 예제</title> + <programlisting role="php"> <![CDATA[ <?php echo '<a href="mycgi?foo=', urlencode($userinput), '">'; ?> ]]> - </programlisting> - </example> - </para> - <para> - 주의: HTML 엔티티가 들어있는 변수에는 주의를 기울이십시오. - &amp;amp, &amp;copy, &amp;pound 같은 것은 브라우저에 의해 - 파싱되어 변수명 대신에 엔티티가 사용됩니다. 이는 몇년동안 - W3C가 두드러지게 이야기해온 문제입니다. 레퍼런스는 여기에 있습니다: - <link xlink:href="&url.argsep;">&url.argsep;</link> PHP는 .ini 지시어의 - arg_seperator를 통하여 W3C가 제시한 세미콜론 인수 구분자 변경을 - 지원합니다. 불행하게도 대부분의 유저 에이전트는 폼 데이터를 - 세미콜론 구분 형태로 전송하지 않습니다. 이를 해결하는 가장 현실적인 - 방법은 구분자로 &amp;를 사용하는 대신 &amp;amp;를 사용하는 것입니다. - 이렇게 하면, PHP의 arg_separator를 변경할 필요가 없습니다. - &amp;로 내버려두고, 간단히 URL을 htmlentities(urlencode($data))를 - 사용하여 인코드하십시오. - </para> - <para> - <example> - <title><function>urlencode</function>와 <function>htmlentities</function> 예제</title> - <programlisting role="php"> + </programlisting> + </example> + </para> + <para> + <example> + <title><function>urlencode</function>와 <function>htmlentities</function> 예제</title> + <programlisting role="php"> <![CDATA[ <?php -echo '<a href="mycgi?foo=', htmlentities(urlencode($userinput)), '">'; +$query_string = 'foo=' . urlencode($foo) . '&bar=' . urlencode($bar); +echo '<a href="mycgi?foo=' . htmlentities($query_string) . '">'; ?> ]]> - </programlisting> - </example> - </para> - <para> - 참고: <function>urldecode</function>, - <function>htmlentities</function>, - <function>rawurldecode</function>, - <function>rawurlencode</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + HTML 엔티티에 매치하는 변수에는 주의를 기울이십시오. + &amp;amp, &amp;copy, &amp;pound 같은 것은 브라우저에 의해 + 파싱되어 변수명 대신 엔티티가 사용됩니다. 이는 몇년동안 + W3C가 두드러지게 이야기해온 문제입니다. 레퍼런스는 여기에 있습니다: + <link xlink:href="&url.argsep;">&url.argsep;</link>. + </para> + <para> + PHP는 .ini 지시어의 arg_seperator를 통하여 W3C가 제시한 세미콜론 인수 + 구분자 변경을 지원합니다. 불행하게도 대부분의 유저 에이전트는 폼 데이터를 + 세미콜론 구분 형태로 전송하지 않습니다. 이를 해결하는 가장 현실적인 + 방법은 구분자로 &amp;를 사용하는 대신 &amp;amp;를 사용하는 것입니다. + 이렇게 하면, PHP의 arg_separator를 변경할 필요가 없습니다. + &amp;로 내버려두고, 간단히 <function>htmlentities</function>나 + <function>htmlspecialchars</function>를 사용하여 URL을 인코드 하십시오. + </para> + </note> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>urldecode</function></member> + <member><function>htmlentities</function></member> + <member><function>rawurlencode</function></member> + <member><function>rawurldecode</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -87,4 +133,3 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> -
« previous php.doc.kr (#776) next »