[PHP] ftp_chmod
Hi gang: Before php 5, how did you guys handle ftp_chmod? 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. Thanks in advance. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ftp_chmod
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 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ftp_chmod
At 1:20 PM -0400 8/15/06, John Nichel wrote: tedd wrote: 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. Bingo ! Who would have thought exactly what I wanted was where I should have looked. Thanks for putting up with me. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php