Re: upload image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux