This is a discussion on file transfers within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I'm tyring to upload several files to my server using ftp_put. But I get an error that says safe ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, 19 Jul 2004 11:26:32 -0700, "Tony Reeves" <areeves1@csc.com> wrote:
>I'm tyring to upload several files to my server using ftp_put. But I get an >error that says safe mode is on and it won't allow me to put the files. is >this something I can change on my end? Post the FULL error message, not just a vague description of it. Presumably it doesn't just say "safe mode is on", it actually shows a more descriptive error describing _which_ safe mode restriction you are hitting. With the full error message it may be possible to advise how to work within the restrictions. You will not be able to disable safe mode yourself, unless you are the admin of the server, as this defeats the purpose of it. -- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space |
|
|||
|
Sorry, here is the whole error line:
Warning: dir(): SAFE MODE Restriction in effect. The script whose uid is 585 is not allowed to access /home/virtual/site183/fst/var/www/html/tours owned by uid 0 in /home/virtual/site183/fst/var/www/html/tours/CreateTourPicture.php on line 24 "Andy Hassall" <andy@andyh.co.uk> wrote in message news:tm5of09a2b8ofasu7mkg9fgvg4md3g53c1@4ax.com... > On Mon, 19 Jul 2004 11:26:32 -0700, "Tony Reeves" <areeves1@csc.com> wrote: > > >I'm tyring to upload several files to my server using ftp_put. But I get an > >error that says safe mode is on and it won't allow me to put the files. is > >this something I can change on my end? > > Post the FULL error message, not just a vague description of it. Presumably it > doesn't just say "safe mode is on", it actually shows a more descriptive error > describing _which_ safe mode restriction you are hitting. With the full error > message it may be possible to advise how to work within the restrictions. > > You will not be able to disable safe mode yourself, unless you are the admin > of the server, as this defeats the purpose of it. > > -- > Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool > http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space |