I
thought maybe the error means something to someone out there. But here's the
code...
I
would have posted it if the error occurred on every request, but since it only
occurs when the string in changes.????
Just a
basic email validation!!! ;-)
<cffunction access="public" name="fnIsValidEmail"
output="false" returntype="boolean">
<cfargument name="emailToValidate" type="string" required="false">
<cfset isValid = yesNoFormat(reFindNoCase("[EMAIL PROTECTED](\.[a-z]+){1,2}$", arguments.emailToValidate))>
<cfreturn isValid>
</cffunction>
<cfargument name="emailToValidate" type="string" required="false">
<cfset isValid = yesNoFormat(reFindNoCase("[EMAIL PROTECTED](\.[a-z]+){1,2}$", arguments.emailToValidate))>
<cfreturn isValid>
</cffunction>
Taco
Fleur
Tell me and I will forget
Show me and I will remember
Teach me and I will learn
--------Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Milligan
Sent: Saturday, 19 June 2004 7:33 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: index 51 size 46 error with calling functionYeah,I think the problem is with the curly bracket you've got at line 6 column 4 of your function.Not completely sure though, so maybe you could post the code in question.Only kidding.It's kinda hard to give an answer to this without seeing the code though. It's certainly not an error I'm familiar with.Spike--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.ukDo you cfeclipse? http://cfeclipse.tigris.org
---
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur
Sent: Friday, June 18, 2004 11:47 PM
To: CFAussie Mailing List
Subject: [cfaussie] index 51 size 46 error with calling functionI have a cffunction that validates an email (simple) every time I change the string (arguments value) I get a "Index: 51, Size: 46" error, google returned me no results, anyone any idea on this?ThanksTaco Fleur
Tell me and I will forget
Show me and I will remember
Teach me and I will learn---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
