Solved. Was not the unlink function in the end was the memory_limit in php.ini having an effect on the imagecreatefromjpeg function. Limit increased and problem solved.
unlink function not working on files over 1mb
Question
Does anyone know why the unlink function would be working with a file under 1mb but fails with one above 1mb? Is there a setting in the php.ini I need to change?
Cheers
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow