Problems with Form_Validation and Upload LIbraries |
[eluser]LuckyFella73[/eluser]
Hi, Quote:i can use “alpha_dash”, but i want to allow dot(.) and @ as well. In case you want to validate an email address you can use the "valid_email" rule. Otherwise you can write your own callback-functions additionally to the build-in validation functions. User Guide // Callback About your file upload question: Check if a file was selected for uploading like this: Code: if($_FILES['userfile']['size']) |
Messages In This Thread |
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 01:19 AM
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 04:58 AM
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 05:50 AM
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 05:59 AM
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 06:06 AM
Problems with Form_Validation and Upload LIbraries - by El Forum - 02-11-2010, 06:15 AM
|