469,266 Members | 1,768 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,266 developers. It's quick & easy.

unlink permissions on windows

Is there any PHP.INI config or windows permission (win 2003) that can prevent PHP to unlink files with the system path?

unlink works with relative path:
@unlink("temp\0000058.txt")
but it is not workinng with the absolute path
@unlink("C:\htdocs\temp\0000058.txt")

the thing is I use unlink within a function called from different directories, so I use absolute path to make sure the path is correct. I've installed my application on several servers, and it's the first time I see this behaviour

tks
Jan 28 '08 #1
1 2280
Just the open_basedir in php.ini afaik
Jul 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Chamomile | last post: by
1 post views Thread by David | last post: by
4 posts views Thread by rbt | last post: by
10 posts views Thread by lorenzogordon | last post: by
6 posts views Thread by Benjamin | last post: by
4 posts views Thread by aryan | last post: by
18 posts views Thread by Coffee Pot | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.