Re: ftp_chmod

From: Date: Tue, 15 Aug 2006 17:20:11 +0000
Subject: Re: ftp_chmod
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240718@lists.php.net to get a copy of this message
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@dotcomholdingsofbuffalo.com

« previous php.general (#240718) next »