philip          Thu Oct 17 23:30:33 2002 EDT

  Modified files:              
    /phpdoc/en/reference/filesystem/functions   popen.xml 
  Log:
  Note: Use proc_open() for bi-directional support.
  See also proc_open() and fopen()
  
  
Index: phpdoc/en/reference/filesystem/functions/popen.xml
diff -u phpdoc/en/reference/filesystem/functions/popen.xml:1.2 
phpdoc/en/reference/filesystem/functions/popen.xml:1.3
--- phpdoc/en/reference/filesystem/functions/popen.xml:1.2      Wed Apr 17 02:38:09 
2002
+++ phpdoc/en/reference/filesystem/functions/popen.xml  Thu Oct 17 23:30:33 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
   <refentry id="function.popen">
    <refnamediv>
@@ -28,11 +28,19 @@
     <para>
      If an error occurs, returns &false;. 
     </para>
+    <note>
+     <para>
+      If you're looking for bi-directional support (two-way), use 
+      <function>proc_open</function>.
+     </para>
+    </note>
     <para>
      <informalexample>
       <programlisting role="php">
 <![CDATA[
+<?php
 $fp = popen ("/bin/ls", "r");
+?>
 ]]>
       </programlisting>
      </informalexample>
@@ -61,7 +69,8 @@
      </para>
     </note>
     <para>
-     See also <function>pclose</function>.
+     See also <function>pclose</function>, <function>fopen</function>,
+     and <function>proc_open</function>.
     </para>
    </refsect1>
   </refentry>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to