cvs: phpdoc-fr /reference/filesystem/functions file-put-contents.xml

From: Date: Thu, 26 Mar 2009 22:52:07 +0000
Subject: cvs: phpdoc-fr /reference/filesystem/functions file-put-contents.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6865@lists.php.net to get a copy of this message
dams Thu Mar 26 22:52:07 2009 UTC Modified files: /phpdoc-fr/reference/filesystem/functions file-put-contents.xml Log: synch with en http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filesystem/functions/file-put-contents.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc-fr/reference/filesystem/functions/file-put-contents.xml diff -u phpdoc-fr/reference/filesystem/functions/file-put-contents.xml:1.21 phpdoc-fr/reference/filesystem/functions/file-put-contents.xml:1.22 --- phpdoc-fr/reference/filesystem/functions/file-put-contents.xml:1.21 Wed Feb 11 11:41:35 2009 +++ phpdoc-fr/reference/filesystem/functions/file-put-contents.xml Thu Mar 26 22:52:07 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> -<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.22 $ --> +<!-- EN-Revision: 1.26 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-put-contents"> @@ -194,30 +194,6 @@ ]]> </programlisting> </example> - <example> - <title>Utilisation d'un contexte de flux</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Création d'un contexte -$opts = array( - 'http'=>array( - 'method'=>"GET", - 'header'=>"Accept-language: en\r\n" . - "Cookie: foo=bar\r\n" - ) -); - -$context = stream_context_create($opts); - -$person = "John Smith\n"; - -// Ajout du contenu avec le contexte -file_put_contents('people.txt', $person, NULL, $context); -?> -]]> - </programlisting> - </example> </para> </refsect1>

« previous php.doc.fr (#6865) next »