Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 7 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();
?>