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 NaiFPHP  >  My Easy Copy  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example for my easy copy
Class: My Easy Copy
Copy a given file to a server directory
Author: By
Last change: example changed
Date: 2006-08-31 12:36
Size: 525 bytes
 

Contents

Class file image Download
<?php

/************************************
/
/ @ script : My Easy Copy
/ @ version : 1.3 beta
/ @ date : 31-8-2006
/ @ created : naif php
/ @ site : www.naifphp.net
/
************************************/

include_once ("MyEasyCopy.class.php");

$EC = new MyEasyCopy;

//$EC->Path = "./";
//$EC->CopyName = "naif";

if(isset($_GET['get']))
{
        echo 
$EC->EasyCopy();
}
else
{
        echo 
$EC->GetInfo();
}


// or you can do this

//echo $EC->GetInfo();
//echo $EC->EasyCopy();


?>