Click to See Complete Forum and Search --> : [Resolved] file copying...


stevesweetland
07-01-2003, 01:32 PM
Warning: open_basedir restriction in effect. File is in wrong directory...

copying a file iv uploaded, getting this error message....

script runs here : /home/httpd/www.foo.com/admin/

copies from
/tmp/f12fds

to :
/home/httpd/www.foo.com/images/uploads/

the uploads folder is chmod' and chown' as necessary, this isnt an error iv seen before.

in php.ini, the 'open_basedir' clause reads thus :


; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
;
open_basedir = Off


ideas please peeps....

dalecosp
07-07-2003, 07:17 PM
the uploads folder is chmod' and chown' as necessary, this isnt an error iv seen beforeWhat about the /tmp permissions?

stolzyboy
07-08-2003, 11:05 AM
Are you using copy()?