Jump to content

file upload problem


tallberg

Recommended Posts

I have a script that uploads new or updates image files stored on the server.

When the script executes the image is uploaded and resampled successfully but the image that is displayed back to the user is the old image. The only way to display the new image is the refresh the page.

Does any one know a way round this?
Link to comment
https://forums.phpfreaks.com/topic/30774-file-upload-problem/
Share on other sites

The page is reloading when the form is submitted - this is not a problem. The problem is that the image that has been replaced does not load, instead the old version of the image reloads presumably from the catch.


Unforumately this does work.

<meta http-equiv="pragma" content="no-cache">

Thanks for replying anyway.
Link to comment
https://forums.phpfreaks.com/topic/30774-file-upload-problem/#findComment-141928
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.