Login Retreive lost passwordRegister
Search

Forum Index / General / uploadField

[ This topic is solved ]

  Tomas Dvorak 26 April 06 / 13:16  
I'm using form with uploadField. I have form where I can upload images to web directory and store the name of picture to database. Is there any possibility to have something like delete button which delete image from disk a value of image from database. Now I can only upload a new image, but I have no possibility to delete it.

I want to know, if FormHandler has functionality for this or do I have to do it by myself ?

  Teye Heimans (Founder) 27 April 06 / 09:07  
FormHandler has not (yet) the functionality to do that. So, your on your own now...

  Rick 22 May 09 / 13:34  
Is this function allready included, or does someone has an example?

Or maybe a little explanation on how to work this out.

Thanks in advantage

  Johan Wiegel (Admin) 02 June 09 / 14:44  
This function is not included.

on delete:

find name of file.
unlink file
alter db record.

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license