Reply to Re: Upload error message display

Your name:

Reply:


Posted by petersprc on 10/03/07 23:40

Hi,

You could make a function uploadErrorMsg($errCode) which will return
the message string so you can re-use it.

Ming wrote:
> Hi there,
>
> Is there a handy way to show error message instead of error code when
> uploading?
>
> For example, if I get error code 3 (UPLOAD_ERR_PARTIAL), I can
> directly show users that 'Only part of the file was uploaded.' instead
> of if $errorCode==3 then print 'Only part of the file was uploaded.',
> which is time-consuming.
>
> Thanks,

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация