Page 1 of 1

inserting image

Posted: Fri Jul 07, 2006 12:46 pm
by caugusto
hi,

my problem is that:

i've a backoffice of my website, that allow me to insert a name, a description text and an image associated. I use a form for this with 1 textfield(name), 1 textarea(description) and 1 filefield to insert data in my mySQL database.

what i want is when i browse in the file field to select an image file from my pc, that file is coppied to a specify folder in the server and also all the inserted data in the form to be added to the database.

In the final a need that the field image in my databese is iqual to the name of the image file in the server.


can some when help me?

p.s.: do i need some special permission to copy files to the server by this way??

Posted: Fri Jul 07, 2006 12:59 pm
by feyd
Sounds like a standard upload tracking to me. Search around, we've talked about it a lot.