Folder Permissions

    Date: 01/29/06 (PHP Community)    Keywords: php

    I am trying to make an automated script that creates several directories and files. However, when I use mkdir(), it makes the folders not able to be deleted by me because the ownership is set to nobody and I cannot change their permissions once they are set using the mkdir() function.

    I've tried using ftp_mkdir() also but I cannot find out how to change permissions on the folder through PHP's FTP functions so my script can't write files to the folders.

    What can I do to make the folders deleteable and be able to change their permissions or use FTP to change the permissions?

    Thanks.
    (I'm using PHP 4.4.1)

    Source: http://community.livejournal.com/php/403484.html

« Little Help? || PHP messing with HTML? »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home