inserting image

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
caugusto
Forum Newbie
Posts: 1
Joined: Fri Jul 07, 2006 12:34 pm

inserting image

Post 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??
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Sounds like a standard upload tracking to me. Search around, we've talked about it a lot.
Post Reply