Location: PHPKode > scripts > Insert FTP > insert-ftp/example.php
<?php
/**
  Example for insertFTP class.
**/
include_once('./setFTP.php');
$nftp = new insertFTP(32,100,6) or die();
echo 'Pass : '.$nftp->passwd.'<br />';
// we can change password :
$nftp->passwd = $nftp->makePasswd(10);
echo 'Pass 2 : '.$nftp->passwd.'<br />';
$nftp->insert();
?>
Return current item: Insert FTP