note 101599 deleted from function.ssh2-connect by danbrown

From: Date: Wed, 29 Dec 2010 18:41:32 +0000
Subject: note 101599 deleted from function.ssh2-connect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175304@lists.php.net to get a copy of this message
Note Submitter: marcoseriso at gmail dot com Reason: bad code ---- In the class above, I just made an adjust to this method: function writeShell( $command = '' ) { fwrite($this->shell, $command.PHP_EOF); } Just changed the "\n" for PHP_EOL. It works better.

« previous php.notes (#175304) next »