Mac Authentication php?
<pre><code>$pid = mysql_insert_id();
    // Place image in the folder 
    $newname = "$pid.jpg";
    move_uploaded_file( $_FILES['fileField']['tmp_name'], "../inventory_images/$newname");
    exit();
}
</code></pre>

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

<pre><code>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
</code></pre>

<p>Is this due to folder authentication?</p>
