![]() |
chown() ?
How do I use the chown() function to change ownership of folder, and then a file, if someone can post the code for changing ownerships of folders and files seperatly here, I would be really greatful.
Thank you in advance Regards -Arunan |
your a punk your online and you never came back to aim
punk |
Hey Im online now!!
Im not a punk :( |
so umm anyone know how chown works?
|
Your script needs to be running as "root" user, since in most setups chown() can only be run by root.
From php manual: Quote:
Hope that helps. |
Yes, but what is the exact code, I know that the root has to be used, but what is the code that to be used
like chown(dir); or what? |
chown("/path/to/the/file", "username");
|
All times are GMT. The time now is 06:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|