Welcome Guest, Not a member yet? Register   Sign In
[Solved] Problem with image resize codeigniter
#4

You need to verify your $file_name variable a bit more. I think your error is being invoked by an empty filename.

PHP Code:
if (!empty($file_name) &&  !file_exists(FCPATH 'uploads/cache/' $file_name)) { 

And as @ivantcholakov says, properly validate your input, make shure it does not contain a '/'
Reply


Messages In This Thread
RE: Problem with image resize codeigniter - by Diederik - 01-19-2016, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB