hey, just wondering if anyone has ever used this module to validate uploaded files. i'm building this simple image upload script for my users and somehow when i try to use this module it doesnt work~! =( i don't kno if its my newbie skills or its because its still considered beta? has anyone got this module to work?
heres my following code that is inside the profile
required => [qw/
image_name
artist
/],
optional => [qw/
email
summary
/],
# In a Data::FormValidator Profile:
validator_packages => [qw(Data::FormValidator::Constraints::Upload
+)],
constraints => {
image_name => [
{
constraint_method => 'file_max_bytes',
params => [\200],
},
],
},
when i try to upload a file bigger then 200 bytes it still uploads and gives me no errors! i'm also 100% sure i installed the modules corrently. -thanks tanger