Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-10 Thread Chris
When safe mode is enabled, PHP checks whether the files or directories you are about to operate on have the same UID (owner) as the script that is being executed. In addition, you cannot set the SUID, SGID and sticky bits. It means that the UID (owner) of the folder ought to be the apache us

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-10 Thread Jo�o C�ndido de Souza Neto
"Chris" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > João Cândido de Souza Neto wrote: >> Hello everyone. >> >> I have got some parts of my system where some files are sent and i use >> ftp functions to save suche files. >> >> When i run it in my local machine, it works fi

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-09 Thread Chris
João Cândido de Souza Neto wrote: Hello everyone. I have got some parts of my system where some files are sent and i use ftp functions to save suche files. When i run it in my local machine, it works fine but, when it is on the server i got some errors. I was using ftp_put to copy such fil

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-06 Thread Jo�o C�ndido de Souza Neto
In both case the functions just returns false. ""Richard Lynch"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote: >> when it is on >> the >> server i got some errors. > > If you tell us what errors, you change t

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote: > when it is on > the > server i got some errors. If you tell us what errors, you change the problem from an infinitely large set of what could go wrong, to a rather small set of what probably went wrong... -- Some people have a

[PHP] ftp_put and ftp_chmod does not work

2006-10-06 Thread Jo�o C�ndido de Souza Neto
Hello everyone. I have got some parts of my system where some files are sent and i use ftp functions to save suche files. When i run it in my local machine, it works fine but, when it is on the server i got some errors. I was using ftp_put to copy such files from upload_temp folder of php to m