i cannot upload image in server?

By Thiyaga rajan R

Please help image cannot upload in server, my
php code:-

    $gallery_image = $_FILES['image'] ['name'];
    $image_tmp = $_FILES['image'] ['tmp_name'];
    move_uploaded_file($image_tmp, "../extra_images/$gallery_image");

my error is:-
PHP Warning: move_uploaded_file(../extra_images/brand-04.jpg): failed to open stream: Permission denied in G:PleskVhostsluisant.invethathirimaharishischool.orgadmingallery.php on line 129
PHP Warning: move_uploaded_file(): Unable to move ‘C:WindowsTempphp4118.tmp’ to ‘../extra_images/brand-04.jpg’ in G:PleskVhostsluisant.invethathirimaharishischool.orgadmingallery.php on line 129

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273