By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,364 Members | 1,518 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,364 IT Pros & Developers. It's quick & easy.

unlink permissions on windows

P: 1
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
Share this Question
Share on Google+
1 Reply


rohypnol
P: 54
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.