Re: ftp_chmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd wrote:
Hi gang:

Before php 5, how did you guys handle ftp_chmod?


Oh, I'd probably try the code outlined in the user contributed section of the ftp_chmod manual page.

Keep in mind: a) I'm working on a shared host; b) I'm trying to change permissions via php 4; c) because of (a) (I think) functions such as chmod() don't work; d) and lastly, any references/code on how to manage files (i.e., delete files and change permissions) via php 4 on a shared *nix server would be greatly appreciated.


Unless your shared host has those functions disabled, they should work fine as long as you have proper permission to do things like chmod and delete (unlink).

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux