ajaxCRUD.com
» a PHP class to create / read / update / delete from a database table using AJAX
by loud canvas mediaAjaxCRUD API Reference
|
<< Reference overview << Home Object: ajaxCRUDConstructorFunctions
Variables |
appendUploadFilenameappend the value of the row to the beginning of the filename
void appendUploadFilename ( String fieldName )
Use this function to prevent easily "overwriting" filenames on upload. You can have each filename easily be unique by attaching the primary key (or some other field) to the filename.
Details
Parameters
Example$tblDemo->setFileUpload("fldFilename", "uploads/", "uploads/");
$tblDemo->appendUploadFilename("pkRowID"); See also |
"Very interesting class. Thanks a lot."
~gustavo
