I'm struggling with proc_open(). What I'm trying to do is conduct an sftp
session. The process appears to open fine, but anything I send to it with
fwrite() is ignored, and any output from sftp is simply dumped to my
script's stdout, rather than being captured by fread(). Could someone give
me a quick rundown of how to do something like this? The examples in the
manual don't seem to work for me. This is on a FreeBSD system.
--
Alan Little
Phorm PHP Form Processor
session. The process appears to open fine, but anything I send to it with
fwrite() is ignored, and any output from sftp is simply dumped to my
script's stdout, rather than being captured by fread(). Could someone give
me a quick rundown of how to do something like this? The examples in the
manual don't seem to work for me. This is on a FreeBSD system.
--
Alan Little
Phorm PHP Form Processor
Comment