![]() |
Ownership/Permission issues
Is there a PHP function that allows one to create directories with a script that doesn't make them owned by the server? Or, is there a function that can successfuly delete directories that have been created by a PHP script instead of giving me the "Fuck You - You Suck/Don't Have Permission" error like rmdir?
|
edit: just noticed the rmdir part... |banghead|
Code:
// Sets All Permissions |
useless, I've always found it easier to have PHP use FTP. I've never had much luck any other way. If FTP extensions aren't installed with the version of PHP on your server, have your system admin do that first.
This function can be used to make a directory, the values you need to replace in this are $server, $user, and $pass. The first argument needs to be the absolute path of where you want to create your directory, the second is the name of the new directory. PHP Code:
|
Thank you Beaver Bob. I'll give that try. Now all I have to do is remember what I was trying to do when I asked the question. ;)
|
hope it helps you out :) The reason for using FTP is so the directories you create will belong to you and you should have no problems removing them or modifying stuff.
|
All times are GMT -4. The time now is 06:47 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc