expect_popenexpect_popen (no version information, might be only in CVS) expect_popen -- Exectute command via Bourne shell, and open the PTY stream to
the process Descriptionresource expect_popen ( string command )
Execute command via Bourne shell, and open the PTY stream to the process.
Parameters
- command
Command to execute.
Return Values
Returns an open PTY stream to the process'es stdio, stdout and stderr.
On failure this function returns FALSE.
Examples
Example 1. expect_popen() example
<?php // Login to the PHP.net CVS repository: $stream = expect_popen ("cvs -d :pserver:anonymous@cvs.php.net:/repository login"); sleep (3); fwrite ($stream, "phpfi\n"); fclose ($stream); ?>
|
|
|

 |
Links |
|
Bluehost $6.95/mo- 50GB Diskspace
- 999GB Bandwidth
- Host 6 Domains
- CGI Ruby(RoR) Perl PHP MySQL PostgreSQL
- Support Custom PHP.INI
- SSH SSL FTP Stats
- Free Domain Forever
- 27/7 Support
IX Web Hosting $6.45/mo- 400GB Diskspace
- 2500GB Bandwidth
- Host 8 Domains
- PHP Perl CGI SSI
- MySQL PostgreSQL
- 3 Free Domain For Life
- Additional costs for Windows plan + $2.50:ASP/.NET, Cold Fusion, ODBC/DSN, MSSQL
Dot5 Hosting $4.95/mo- 200GB Diskspace
- 2000GB Bandwidth
- Host 5 Domains
- CGI Ruby Perl PHP MySQL
- Free Domain Forever
|
 |



 |
Partners |
|
|
 |

|