Hi sonja, Sonja schrieb am 24.08.2006 09:38: > Hi, > > I have problems with uploading image, here is the code > > if(isset($_POST['txtTitle'])) > { > $albumId = $_POST['cboAlbum']; > $imgTitle = $_POST['txtTitle']; > $imgDesc = $_POST['mtxDesc']; > > $images = uploadImage('fleImage', GALLERY_IMG_DIR); how does the function uploadImage looks like? > if ($images['image'] == '' && $images['thumbnail'] == '') { > echo "Error uploading file"; > exit; > } the error comes from this if-clause that is depending from the function above. regards Mourad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php