Click Fraud Protection
PHP related blog, freelancer to hire!

Posts Tagged ssh3

sFTP for PHP 5.xx

Install SSh2 extension for PHP, then you can use class below: <?php /** * Class to deal with sFTP connections * to use install http://php.oregonstate.edu/manual/en/ssh2.installation.php * */ class SFTPConnection { private $connection; private $sftp; public function __construct($host, $port=22) { if (!extension_loaded(‘ssh2’)) { throw new Exception(“Extension ssh2 has […]

Read more