Welcome Guest, Not a member yet? Register   Sign In
Image Uploader / thumbnail - controller question
#7

[eluser]Kemik[/eluser]
Sounds like it's creating more and more DB entries.

Try using flashdata. I.e. once uploaded set_flashdata('uploaded', $image_id); and check for the flashdata on page load. If it exists return the image using the image_id from the flashdata.

If you don't want to do that then you may have your redirect at the wrong place in the code. Post it up here and we'll take a look.


Messages In This Thread
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 08:11 AM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 08:16 AM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 11:55 AM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 11:57 AM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 12:12 PM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 01:18 PM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 01:49 PM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 02:00 PM
Image Uploader / thumbnail - controller question - by El Forum - 04-13-2008, 03:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB