close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File size validation

Thread began 1/12/2014 6:50 pm by Miguel | Last modified 1/13/2014 12:50 pm by Miguel | 2389 views | 27 replies |

Miguel

File size validation

After reading many post on how to validate the file size i followed the instructions in several post, to validate as number the form field example:

((isset($_FILES["Logo"]))?$_FILES["Logo"]["size"]:"") i then selected international numbers have minimum 0 and max 2097152 for limiting 2 mb files, i also selected 0 decimals and checked the option allow blank, so far so good but when i try it even with small files its validating wrong, it doesn't allow any size of files nore it shows the validate if msg that it should even with big files, so what can be wrong i even moved the helper file to line one as suggested on another post but with no luck ill attach the file for webassist to check to see what can be wrong?

The file is still under development so buttons are moved from where they should be

Sign in to reply to this post

Jason ByrnesWebAssist

to troubleshoot, add the following code at line 1:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
if(isset($_FILES)) var_dump($_FILES);
?>

test again and report the results, or provide a link

Sign in to reply to this post

Miguel

Originally Said By: Jason Byrnes
  to troubleshoot, add the following code at line 1:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
if(isset($_FILES)) var_dump($_FILES);
?>

test again and report the results, or provide a link  


Nothing happened with that code on line 1

Sign in to reply to this post

Miguel

replay of second msg private files

Sign in to reply to this post

Jason ByrnesWebAssist

see PM

Sign in to reply to this post

Miguel

se pm

Sign in to reply to this post

Jason ByrnesWebAssist

see PM

Sign in to reply to this post

Miguel

see PM

Sign in to reply to this post

Jason ByrnesWebAssist

see PM

Sign in to reply to this post

Miguel

See PM

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...