EDIT: translations in italics
salut :)
j'ai l'erreur suivant:
hi :)
I have the following error:
Warning: move_uploaded_file(avatar/essai.jpg): failed to open stream: Permission non accordée in /opt/lampp/htdocs/site/submitfunc.php on line 3
... Permission not granted in /opt/lampp/htdocs/site/submitfunc.php ...
Warning: move_uploaded_file(): Unable to move '/opt/lampp/temp/php2FwMbY' to 'avatar/essai.jpg' in /opt/lampp/htdocs/site/submitfunc.php on line 3
lorsque j'appuie sur valider afin de charger l'image
when I press confirm to load the image
voila ma fonction submitfunc.php :
Here is my function submitfunc.php:
<?php
//la fonction qui va changer l'image de profil
//function that will change the profile picture
move_uploaded_file($avatar_tmp,'avatar/'.$avatar);
mysql_query("
UPDATE membres SET avatar='{$_FILES['avatar']['name']}' WHERE nom='{$_SESSION['nom']}'
");
?>
j'utulise xampp sur ubuntu
I use xampp on ubuntu
de l'aide svp :)
Please help :)