Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: SV: RE: Weird thing after file uploading


Message #1 by "Datatal AB - Gauffin, Jonas" <jonas@d...> on Wed, 22 Jan 2003 09:30:18 +0100
Yep. Redirect the user to another page after the uploading. (or to the 
same page)

> -----Ursprungligt meddelande-----
> Fr=E5n: senthil_T_kumar@l... [mailto:senthil_T_kumar@l...]
> Skickat: den 22 januari 2003 09:41
> Till: professional php
> =C4mne: [pro_php] RE: Weird thing after file uploading
>
>
> Ok, I understand it. But is there anyway to avoid it.
>
> Thanks
> senthil
>
> >
> > I tried a file uploading program. It worked fine. But,
> after successfully
> > uploading the file, if I delete that uploaded file and press 'F5'
> or 'Ctrl
> > R', (it asks whether to retry or cancel) the previously
> uploaded (and
> > deleted) file comes back again. I read that the temp file
> will be deleted
> > once it is moved. How could the file come back again? Could
> anyone tell
> me
> > why this is happening and how to avoid this?
> >
> > I'm using the move_uploaded_file command to move the file from temp
> > directory to the original place.
>
>
> Well, when you refresh a page that was generated as the
> result of a POST
> form,
> you're prompted to resubmit the form data.  Resubmitting the
> form data is,
> in
> effect, re-uploading the file.
>
>
> Take care,
>
> Nik
>
>
>

  Return to Index