cvs: phpdoc-ru /reference/filesystem/functions file-get-contents.xml

From: Date: Mon, 08 Nov 2004 10:16:59 +0000
Subject: cvs: phpdoc-ru /reference/filesystem/functions file-get-contents.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-496@lists.php.net to get a copy of this message
young Mon Nov 8 05:16:59 2004 EDT Modified files: /phpdoc-ru/reference/filesystem/functions file-get-contents.xml Log: Syncronizes to latest en revision by George Miroshnikov http://cvs.php.net/diff.php/phpdoc-ru/reference/filesystem/functions/file-get-contents.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ru/reference/filesystem/functions/file-get-contents.xml diff -u phpdoc-ru/reference/filesystem/functions/file-get-contents.xml:1.3 phpdoc-ru/reference/filesystem/functions/file-get-contents.xml:1.4 --- phpdoc-ru/reference/filesystem/functions/file-get-contents.xml:1.3 Wed Oct 27 04:49:38 2004 +++ phpdoc-ru/reference/filesystem/functions/file-get-contents.xml Mon Nov 8 05:16:55 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.19 Maintainer: tronic Status: ready --> -<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.20 Maintainer: tronic Status: ready --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 --> <refentry id="function.file-get-contents"> <refnamediv> @@ -33,22 +33,12 @@ Ïàðàìåòð <parameter>offset</parameter> áûë äîáàâëåí â âåðñèè PHP 5.1.0. </simpara> </note> - <example> - <title>Èñïîëüçîâàíèå <function>file_get_contents</function> ñ URI</title> + <note> <para> Åñëè âû îòêðûâàåòå URI ñîäåðæàùèé ñïåöñèìâîëû, òàêèå êàê ïðîáåë, âàì íóæíî çàêîäèðîâàòü URI ïðè ïîìîùè <function>urlencode</function>. </para> - <programlisting role="php"> -<![CDATA[ -<?php -$url = 'http://example.com/with funny chars'; -list($protocol, $uri) = split('//', $url); -$html = file_get_contents($protocol . '//' . urlencode($uri)); -?> -]]> - </programlisting> - </example> + </note> &note.bin-safe; &tip.fopen-wrapper; &note.context-support;

« previous php.doc.ru (#496) next »