You are here: Re: Uploading JPG's « All PHP « IT news, forums, messages
Re: Uploading JPG's

Posted by Mike on 09/28/82 11:56

Thanks all.

I have figured it out.

What was happening was if the max_file_size was greater than what was
set in the MAX_FILE_SIZE in the form then it was always returning
either a file size of 0 or a "none" file type. Because of this it
wasn't picking up my check of filesize > 100000 as the file size would
always be returned as 0 and also the file type would always be "none".

Did that make sence!!!

I took the MAX_FILE_SIZE out of the form and just relyed on the script
to trap large files, and it works a treat.

Thanks for all your help.

Mike

 

Navigation:

[Reply to this 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

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