proc_open() Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Little

    proc_open() Help

    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

  • Alan Little

    #2
    Re: proc_open() Help

    Carved in mystic runes upon the very living rock, the last words of Alan
    Little of comp.lang.php make plain:
    [color=blue]
    > 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.[/color]

    Oh come on now, surely there's someone here who's worked with proc_open()
    and can shed some light on it? (And no, I'm not calling anyone Shirley)

    --
    Alan Little
    Phorm PHP Form Processor

    Comment

    Working...