Add a custum button to it ... then have it point to a php upload page.... On that page create a form like
<form action="uploadsiteimages.php" method="POST" enctype='multipart/form-data' id="upform">
<script>
function upload()
{
if(upform.pcfile.value != '')
{
upform['submitbutton'].disabled = true;
upform.submit();
}
else
alert('Please Enter A Valid File');
}
</script>
<input type="file" size="30" name="pcfile"><br>
<input name="submitbutton" type="button" value=" UPLOAD " onclick="upload()">
</form>
On uploadsiteimages.php all you have to do is to check for what the file is... and copy it from the temporary directory to where you
want to put it.... try to mess around with the $FILES array in php. The temporary name of the file for the form above is stored at $FILES['pcfile']['tmpname'];
to see the contents of that array try the following
while(list($key, $value) = each($_FILES['pcfile']))
{
echo $key.':'.$value.'<br>';
}
And also if you are using apache on linux... chmod the directory you are uploading to so that apache can write to it... if that doesnt work change the group and owner of the folder to apache and apache respectively.