PDA

View Full Version : Using XML/PHP to insert images into Flash.



Syous
February 22nd, 2007, 04:54 PM
I've several tutorials and what not, but all deal with text (people, names, etc.) I was wondering if it's possible to create a script that let's someone with no experience upload an image to a database and the script can replace the current photo in the same coordinates.

borrob
February 22nd, 2007, 06:19 PM
It is not a good idea to place images in a database.
Instead use files and put the filenames and path in the database

Syous
February 27th, 2007, 01:08 PM
I have no control of whether I put images in the databse, so it's going to have be done that way I think.
The person we are making the site for wants the ability to upload new listings (realty site) via an admin page. She'd just type in the specs of the house and upload an image of the house as well. As I've said before, the text part is easily done, but how can one do it with images?

bwh2
February 27th, 2007, 01:37 PM
right, so just upload the images to a directory. then insert the directory location into the DB. storing the actual image in the DB hurts DB stability and performance.

Syous
February 27th, 2007, 01:44 PM
For some reason that made sense, even though above posted said the same thing. Thanks.