Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top