Re: upload image

From: Date: Thu, 24 Aug 2006 08:36:37 +0000
Subject: Re: upload image
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241074@lists.php.net to get a copy of this message
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

« previous php.general (#241074) next »