Posted by Good Man on 07/03/07 21:24
up2trouble <lynettesmith@gmail.com> wrote in news:1183491626.090935.251560
@w5g2000hsg.googlegroups.com:
> error:
>
> Warning: chmod() [function.chmod]: open_basedir restriction in effect.
> File(/documentslynne3.gif) is not within the allowed path(s): (/home/
> lynettes:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/lynettes/
> public_html/bainbridge/documents.php on line 29
two clues to solving your problem:
1) "open_basedir restriction in effect" = you do not have permission to put
files outside the directory to which you've been given access.... so, its
telling you that you're trying to put the file somewhere its not allowed
2) "... in /home/lynettes/public_html/bainbridge/documents.php" suggests to
me that you should upload files to "/home/lynettes/public_html/" instead of
"/documents", because you KNOW you have access to that folder.
so...
$uploaddir = "/home/lynettes/public_html/";
want it in a folder called 'documents'? Then create it under
'public_html' and change $uploaddir as required.
[Back to original message]
|