I’m creating a form for upload of files and I’d like their locations, filenames and timestamps to be stored in my photo table. So far I have a CActiveRecord model called photo, but how can I validate the file uploads with it?
I’m creating a form for upload of files and I’d like their locations, filenames and timestamps to be stored in my photo table. So far I have a CActiveRecord model called photo, but how can I validate the file uploads with it?
Cookbook
Thanks, Andy. Don’t know why that never showed up in any of my searches. I could only find the entry about multiple file uploads.