» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAXby loud canvas media
AjaxCRUD Class Documentation / Reference Material
<< Reference overview
allows a field to accept file uploads
void setFileUpload ( String fieldName, String serverUploadFolder, String webUploadFolder, [Array permittedExts] )
This function allows a field (or multiple fields) in your table to allow file uploads. What this essentially means is that the field you set to handle file uploads inserts the file's relative path to the file.
Note: you must chmod the folder to which you're uploading files to 777 (world writable)