Works locally but not live.
My file location is
And where i want the image to go is

Warning i get live is:
Warning: move_uploaded_file(../images/products/wolf - Copy.jpg): failed to open stream:
Permission denied in /usr/local/pem/vhosts/171950/webspace/httpdocs/ on line 46

Warning: move_uploaded_file(): Unable to move '/usr/local/pem/vhosts/171950/tmp/phpOWqMkC' to '../images/products/wolf - Copy.jpg' in /usr/local/pem/vhosts/171950/webspace/httpdocs/ on line 46

And this is my code.
PHP Code:
$target "../images/products/";
$target $target basename($_FILES['photo']['name']); 
$pname $_FILES['photo']['name'];
$ptemp $_FILES['photo']['tmp_name'];
$ptype $_FILES['photo']['type'];
$psize $_FILES['photo']['size'];

move_uploaded_file($_FILES['photo']['tmp_name'], $target)){ 
Really confused and stuck