Mac认证PHP?

$pid = mysql_insert_id();
    // Place image in the folder 
    $newname = "$pid.jpg";
    move_uploaded_file( $_FILES['fileField']['tmp_name'], "../inventory_images/$newname");
    exit();
}

I am using the above code to add images to a folder from a form on my webpage. I keep getting the following error:

Warning: move_uploaded_file(../inventory_images/11.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/storeadmin/inventory_list.php on line 63

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/Applications/XAMPP/xamppfiles/temp/phpH51nOR' to '../inventory_images/11.jpg' in /Applications/XAMPP/xamppfiles/htdocs/storeadmin/inventory_list.php on line 63

Is this due to folder authentication?