*/
function createFrom($file, $filename=false)
{
- print_r('createfrom');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
return false;
function onUploadWithTbl($tbl, $fld)
{
- print_r('onUploadWithTbl');
if ( $tbl->__table == 'Images') {
return; // not upload to self...
}
/// ctrl not used??
function onUpload($roo)
{
- print_r('onUPload');
// echo $_FILES['imageUpload']['type'];exit;
if (empty($_FILES['imageUpload']['tmp_name']) ||
empty($_FILES['imageUpload']['name']) ||