PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Jeanneret CÚdric   Insert FTP   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: A simple example
Class: Insert FTP
Manage FTP user acounts stored in a MySQL database
Author: By
Last change:
Date: 16 years ago
Size: 294 bytes
 

Contents

Class file image Download
<?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();
?>