Re: how to delete directories that are created by PHP?



On Wed, 31 Jan 2007 16:07:46 -0800, "Eric Layman" <erricson@lays>
wrote:

Hi,

I have folders that are created by PHP.

Now, I cannot delete these php created folders via FTP.

Are there any solutions?

Thanks.

Write a little script to chmod 777 the directories. You might have to
temporarily set the perms to 777 to the directory above them first.
.



Relevant Pages

  • Re: automated upload with PHP
    ... have your script one once per day and upload any images not already ... providing it can have an ftp serve running on it, ... tiffs and the php script, ...
    (comp.lang.php)
  • Re: automated upload with PHP
    ... have your script one once per day and upload any images not already ... providing it can have an ftp serve running on it, ... tiffs and the php script, ...
    (comp.lang.php)
  • Re: security of phpsuexec
    ... Without phpsuexec, if a PHP script is to create new files, public ... PHP is ran as user 'nobody'. ... With phpsuexec, however, that's not needed. ... If you created all the folders, running PHP scripts as you would mean ...
    (comp.lang.php)
  • Re: folder permissions
    ... >> It's that I had to chmod 777 two folders to get my scripts do what I ... >> where this script is, ... > is inherited by the PHP interpreter. ... if your Apache process is ...
    (comp.lang.php)
  • Re: automated upload with PHP
    ... have your script one once per day and upload any images not already ... providing it can have an ftp serve running on it, ... tiffs and the php script, ...
    (comp.lang.php)