copy(productImages/submitbutton.png) [function.copy]: failed
Posted: Thu Jun 19, 2003 12:50 pm
I am getting this error when uploading a file
copy(productImages/submitbutton.png) [function.copy]: failed to create stream: Permission denied in
i am on a linux server with mysql
here is some of my code
if (@is_uploaded_file($_FILES["userfile"]["tmp_name"]))
{
copy($_FILES["userfile"]["tmp_name"], "productImages/" . $_FILES["userfile"]["name"]);
echo "<p>File uploaded successfully.</p><br>";
$image_path = $_FILES["userfile"]["name"];
Any suggestions???? any help would be greatly appreciated
Thanks!
copy(productImages/submitbutton.png) [function.copy]: failed to create stream: Permission denied in
i am on a linux server with mysql
here is some of my code
if (@is_uploaded_file($_FILES["userfile"]["tmp_name"]))
{
copy($_FILES["userfile"]["tmp_name"], "productImages/" . $_FILES["userfile"]["name"]);
echo "<p>File uploaded successfully.</p><br>";
$image_path = $_FILES["userfile"]["name"];
Any suggestions???? any help would be greatly appreciated
Thanks!