FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » form - file - sumple question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: form - file - sumple question [message #176491 is a reply to message #176451] Sun, 08 January 2012 15:41 Go to previous messageGo to previous message
Jonathan Stein is currently offline  Jonathan Stein
Messages: 43
Registered: September 2010
Karma:
Member
Den 07-01-2012 16:24, Leo Decap skrev:

> thanks everyone, I was afraid that "no way" was the answer...

Well, it's a bit more complicated, but you can do something to avoid
that the user has to find the file again.

On the first POST, save the file in a temporary location and include a
hidden field with the file id in the new form, you generate.

Then you should also make a "delete" checkbox or button to let the user
remove the file again, and you must clean up the temporary files once in
a while.

Regards

Jonathan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Best PHP Training | PHP Development Training | PHP Training Institute
Next Topic: Running function in the background?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 06:57:47 GMT 2024

Total time taken to generate the page: 0.03937 seconds