<?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();
?>
|