Re: [PHP] Uploading files / processing with a PHP script

2006-10-09 Thread Richard Lynch
On Sun, October 8, 2006 2:49 pm, Larry Garfield wrote: > The owner of a file can change ownership of the file, too, I believe, > essentially "willing" it to someone else. I sure hope not... Cuz then I could chmod 4777 a file to make it execute as owner, then I could "will" it to 'root' owner, and

Re: [PHP] Uploading files / processing with a PHP script

2006-10-09 Thread Richard Lynch
On Sun, October 8, 2006 7:47 am, Ron Piggott (PHP) wrote: > When I upload a file into an application I am writing with the HTML > form > command > > > > and then give the PHP command > > move_uploaded_file( $userfile , $destination_file_name); > > the owner of the file is 'www'. Is there any way

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread John Wells
On 10/8/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote: the owner of the file is 'www'. Is there any way I am able to automatically change the owner of the file to my FTP login identity (for example 'rpiggott') Just curious, why do you want to do this? What are you *really* hoping to accompl

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Larry Garfield
On Sunday 08 October 2006 13:25, Stut wrote: > > the owner of the file is 'www'. Is there any way I am able to > > automatically change the owner of the file to my FTP login identity (for > > example 'rpiggott') > > As far as I am aware only the root user can change the owner of files. > You coul

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Stut
Ron Piggott (PHP) wrote: When I upload a file into an application I am writing with the HTML form command and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'. Is there any way I am able to automatically change the owner of th

[PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Ron Piggott (PHP)
When I upload a file into an application I am writing with the HTML form command and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'. Is there any way I am able to automatically change the owner of the file to my FTP login iden