I can't unlink file with php if there is & in file name.
unlink('../mydoc/in&out.pdf');
The error said: no such file or directory
I can't unlink file with php if there is & in file name.
unlink('../mydoc/in&out.pdf');
The error said: no such file or directory
You should escape special characters.
unlink('../mydoc/in\&out.pdf');
You need to supply a full path to the file.