uploading pictures
Posted: Mon Jun 14, 2004 8:44 pm
hi guys,
i have a insert admin page that inserts product info into the database.
each product has a picture, but i am not keeping the pictures in the database, just the picture filename. i am keeping the pictures in a file directory.
at the moment i am not uploading pictures in the admin page as i am not keeping them in the database.
my question is, is there a way to add "upload picture" to my admin insert page and have the picture upload to the file directory instead of the databse? or should i be storing all the pics in the database?
at the moment i have to upload all the pics through ftp to go to my website.
any help would be great. am i doing this the right way so far?
thanx! sorry if this is confusing!
i have a insert admin page that inserts product info into the database.
each product has a picture, but i am not keeping the pictures in the database, just the picture filename. i am keeping the pictures in a file directory.
at the moment i am not uploading pictures in the admin page as i am not keeping them in the database.
my question is, is there a way to add "upload picture" to my admin insert page and have the picture upload to the file directory instead of the databse? or should i be storing all the pics in the database?
at the moment i have to upload all the pics through ftp to go to my website.
any help would be great. am i doing this the right way so far?
thanx! sorry if this is confusing!