2005-06-12, 05:54 PM
Hi,
when I try to upload an avatar in the user-cp i get the following error:
Line 1051 is:
What's that?
when I try to upload an avatar in the user-cp i get the following error:
Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/phpCSDDus) is not within the allowed path(s): (/home/www/htdocs/XXX/.) in /home/www/htdocs/XXX/forum/usercp.php on line 1051
Warning: fopen(/tmp/phpCSDDus) [function.fopen]: failed to create stream: Operation not permitted in /home/www/htdocs/XXX/forum/usercp.php on line 1051
Warning: fread(): supplied argument is not a valid stream resource in /home/www/htdocs/XXX/forum/usercp.php on line 1051
Line 1051 is:
$avatarfile = addslashes(fread(fopen($HTTP_POST_FILES['avatarupload'][tmp_name], "r"), $avatarsize));
What's that?