Sunday, 15 July 2012

unlink php error with & in file name -



unlink php error with & in file name -

i can't unlink file php if there & 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');

php unlink

No comments:

Post a Comment