Results 1 to 5 of 5
Jun 5, 2007, 13:56 #1
- Join Date
- Aug 2006
- 0 Post(s)
- 0 Thread(s)
Uploading the same image to two different folders
I'm trying to upload an image to two different directories, one for the regular image and one for the thumbnail.
It moves to the first directory just fine, but won't move it to the second.
It won't even give me an error message other than the one I specified in the ELSE.
//run my query to insert into db here
$status = "<p class=\"successmsg\">Image was successfully uploaded.</p>";
$showform = false;
//GET Uploaded Image Size
list($width, $height) = getimagesize($img_name);
$status = "<p class=\"successmsg\">Image was not uploaded. (sql)</p>";
}else//if thumb is not uploaded
$status = "<p class=\"successmsg\">Image was not uploaded. (thumb)</p>";//It gives me this message
Thanks for any help!No, I REALLY dislike having to use Joomla.