Re: File uploads, image uploads

2006-06-26 Thread poorna
clemos wrote: > hi jon and all > > what is on line 219 of your > /myserver/app/controllers/businesses_controller.php ? > > for file upload, I actually use this component which does perfectly the job : > http://cakeforge.org/snippet/detail.php?type=snippet&id=36 > I've written my own File model, F

Re: File uploads, image uploads

2006-06-26 Thread poorna
hi friends, if v upload a file ,then the file(which was uploading by me) goes to where?? whether it wil go to database/webserver??? plz reply immediately.. i am new to php... clemos wrote: > hi jon and all > > what is on line 219 of your > /myserver/app/controllers/businesses_controller.php ?

Re: File uploads, image uploads

2006-06-26 Thread clemos
hi jon and all what is on line 219 of your /myserver/app/controllers/businesses_controller.php ? for file upload, I actually use this component which does perfectly the job : http://cakeforge.org/snippet/detail.php?type=snippet&id=36 I've written my own File model, FilesController and stuff arou

Re: File uploads, image uploads

2006-06-25 Thread linkingarts
jb- thanks for the input but that isn't exactly the issue. What I don't quite get is a) why I'm getting an "index" error, and b) how to populate the db (with the imageFile [name] value in addition to the other values passed by the form) at the same time I'm uploading the file into a specific dire

Re: File uploads, image uploads

2006-06-25 Thread Jon Bennett
On 6/25/06, linkingarts <[EMAIL PROTECTED]> wrote: > > I want to populate a row in a database, and upload an image (into a > directory, not the db) from the same form. I'd also like to grab the > $_FILES[filename][name] param to go into the database. > > I have NO idea how to do this in Cake - no

File uploads, image uploads

2006-06-24 Thread linkingarts
I want to populate a row in a database, and upload an image (into a directory, not the db) from the same form. I'd also like to grab the $_FILES[filename][name] param to go into the database. I have NO idea how to do this in Cake - no problem for me otherwise, but I don't even know where to begin