upload images to database
can anyone show me how to create a form to allow users to upload images to a database?
can anyone show me how to create a form to allow users to upload images to a database?
I'd like to be able to check for the type and size of file to prevent malicious uploads and to keep the size of the file within certain parameters
Comments
RE: upload images to database
You have several solutions but none are simple... (my opinion !). What I use is a good extension for DMX which is called PHP Upload you can find at http://www.felixone.it/. The other solution is to use the Pure PHP/ASP Upload extension which can manage several options... Think it's the best one ! You can find it here at DMX Zone.
Hope it helps :)
Jérôme Labarbe
Try it
First of all, u should hv ur database with a field name:XXX(what ever u like)
2. u then connect to the database and make a insert form with "file field" ( u can refer to help file in DMX- Under Application:Record Insertion Form Wizard).It's simple.
3. The last step is, u call the "picture" from database to its result page.
That's the way I do it, I hope that this can help.Good try:)
You must me logged in to write a comment.