471,893 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,893 software developers and data experts.

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 2364
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 YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.