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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top