php - unlink a deleted file problem
習慣沉默
習慣沉默 2017-06-05 11:07:39
0
1
780

Running environment win7, PHP5.5.3
When accessing the website, both the image paths static\20170501\1.jpg and static/20170501/1.jpg can be accessed
But when deleting the file
unlink( 'static/20170501/1.jpg') is OK,
but unlink('static\20170501\1.jpg') will report an error: unlink(static\20170501\1.jpg): Permission denied.
May I ask why?

習慣沉默
習慣沉默

reply all (1)
仅有的幸福

Windows:

"/" means parameters, "" means local path.
Linux:

"/" represents path, "" represents escaping, "-" and "-" represent parameters.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!