Re: Uploading JPG's




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

.



Relevant Pages

  • Re: how can I tell if a remote file is an image
    ... If it will image extension (.jpg, ... .gif, .png, etc), so that is picture, otherwise other file type ... The crux of the script is the following: ... > customer run it under php4.2.2 and the getimagesize is taking approx. ...
    (comp.lang.php)
  • Re: A criticism of MS Word 2008
    ... File Type" Deprecation. ... Corentin's script resolves the issue. ... that it is STILL believing the File Type Code. ... From what I've read of this thread you're discussing the WDBN file type ...
    (microsoft.public.mac.office.word)
  • Re: renaming emails
    ... Now save the script again. ... scripts are assigned the file type 'osas' and creator 'ToyS'. ...
    (microsoft.public.mac.office.entourage)
  • Re: More information in File Open/Close Dialog
    ... But I think those all, like permissions, owner and filesize is not ... own subset of which features to view, sort by them, select by a ... certain file type. ...
    (GNOME)
  • Re: Add Script to (right click) File Options
    ... the right click contect menu option only appears for one file type (or as ... embedded quote character, i.e. so that the quote character doesn't terminate ... Windows Registry Editor Version 5.00 ... I created a script that takes a text file and turns it into a Word doc ...
    (microsoft.public.scripting.wsh)