michael Tue Mar 7 12:07:16 2006 UTC
Modified files: /phpdoc/en/reference/expect reference.xml /phpdoc/en/reference/expect/functions expect-expectl.xml Log: wrong example, it should be fopen() http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/expect/reference.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/expect/reference.xml diff -u phpdoc/en/reference/expect/reference.xml:1.3 phpdoc/en/reference/expect/reference.xml:1.4 --- phpdoc/en/reference/expect/reference.xml:1.3 Mon Oct 3 11:25:07 2005 +++ phpdoc/en/reference/expect/reference.xml Tue Mar 7 12:07:16 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- Purpose: fileprocess.process --> <!-- Membership: pecl --> @@ -51,7 +51,7 @@ <?php ini_set ("expect.loguser", "Off"); -$stream = popen ("expect://ssh [EMAIL PROTECTED] uptime", "r"); +$stream = fopen ("expect://ssh [EMAIL PROTECTED] uptime", "r"); $cases = array ( array (0 => "password:", 1 => PASSWORD) http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/expect/functions/expect-expectl.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/expect/functions/expect-expectl.xml diff -u phpdoc/en/reference/expect/functions/expect-expectl.xml:1.6 phpdoc/en/reference/expect/functions/expect-expectl.xml:1.7 --- phpdoc/en/reference/expect/functions/expect-expectl.xml:1.6 Sun Feb 19 15:06:39 2006 +++ phpdoc/en/reference/expect/functions/expect-expectl.xml Tue Mar 7 12:07:16 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.expect-expectl"> <refnamediv> <refname>expect_expectl</refname> @@ -116,7 +116,7 @@ // Copies file from remote host: ini_set ("expect.timeout", 30); -$stream = popen ("expect://scp [EMAIL PROTECTED]:/var/log/messages /home/user/messages.txt", "r"); +$stream = fopen ("expect://scp [EMAIL PROTECTED]:/var/log/messages /home/user/messages.txt", "r"); $cases = array ( array (0 => "password:", 1 => PASSWORD),