RE: Check an email domain

2013-10-15 Thread Paul Vernon
Just to be clear, CFX_ValidEmail is my tag. It was written in Delphi 7 and interfaces to CF through the C++ interface. All of the CFX tags I built are 32-bit only and unlikely to ever get an upgrade. They were all written at the time of CF4 and have had bug fixes and maintenance for them since

Re: Check an email domain

2013-10-15 Thread Claude Schnéegans
To replace CFX_ValidEmail, I'd look at performing an MX lookup on the domain Thanks for your feedback. This is what I have implemented in my address validation function used by my forms. and then if you need to do an SMTP check, you'd have to implement a short SMTP client that pretends to be

RE: Check an email domain

2013-10-10 Thread Robert Harrison
Is someone aware of some tool that will check for a mail server from CF? I don't know that, it would be a nice feature... but I do know if you put yourself as the failto address in CFMAIL that will give you a much easier way to see failed mail then digging through the mail server. I

Re: Check an email domain

2013-10-10 Thread Dave Watts
Is someone aware of some tool that will check for a mail server from CF? There's a CFC that will look up MX records (among other things). You could use that to see if there are corresponding MX records for a given domain - it would not tell you whether there was actually a server accepting

Re: Check an email domain

2013-10-10 Thread Russ Michaels
You need to use nslookup, you can do this via cfexecute or via java or there are cfx tags out there Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 10 Oct 2013 19:25, wrote: Hi, I just lost about 2 hours digging in my mail server logs to find why a user did

Re: Check an email domain

2013-10-10 Thread Claude Schnéegans
You need to use nslookup Yes, this is what I end up doing. Here is a function that returns the name of the mail server id there is on, or an empty string if there is not. (tested on Windows) CFFUNCTION NAME=nslookup CFARGUMENT NAME=domain REQUIRED=yes TYPE=string CFEXECUTE

RE: Check an email domain

2013-10-10 Thread Jenny Gavin-Wear
Hi Claude, I use CFX_validEmail. Sample code below. It is reliable, but because of the time outs it can take a long time on large tables. Some stuff in the code related to how I was using it, of course, but I think it will help rather than hinder so I've left it intact. Hope this helps,

RE: Check an email domain

2013-10-10 Thread Jenny Gavin-Wear
- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: 10 October 2013 21:38 To: cf-talk Subject: Re: Check an email domain You need to use nslookup Yes, this is what I end up doing. Here

Re: Check an email domain

2013-10-10 Thread Claude Schnéegans
Thanks, but the notice All our CFX tags and tools are for the Windows platform only. makes me think this tag is written in C, not Java. I am hesitating installing new tags on my server. Although I have a 64bit server, I had to install the 32 bit version of CF because of some heritage CFXs, and

Re: Check an email domain

2013-10-10 Thread Dave Watts
NSlookup is good if you only need to know the server. CFX_ValidEmail also checks if the use exists. I use it to avoid duff mail addresses producing spam triggers, it can save a user needing a registration confirmation email - which can cause spam triggers themselves. Unfortunately, there

Re: Check an email domain

2013-10-10 Thread Claude Schnéegans
Unfortunately, there isn't really a reliable way to check if a user exists other than sending an email to that address and getting a response. Right, and I even add and getting a response... from a user who knows that he has a spam folder somewhere and who knows how to look in it. But I'm not

Re: Check an email domain

2013-10-10 Thread Claude Schnéegans
I use it to avoid duff mail addresses producing spam triggers Do you know that checking if a user exists without actually sending a message can also tag you as a potential spammer? ~| Order the Adobe Coldfusion Anthology

Re: Check out my profile on LinkedIn

2013-01-28 Thread Claude Schnéegans
Find out why I use LinkedIn. Who cares? ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: check validity of zip file with cfzip

2012-11-29 Thread Marco Antonio C. Santos
Seamus, after several problems regarding open corrupted zip files I'm using this code to validate before open that: cfscript var local = {}; local.pathZip = arguments.pathZip; local.pathEXE = application.dir_exe '7z '; /cfscript cfset local.command = 'cmd /c ' local.pathEXE ' t '

Re: check validity of zip file with cfzip

2012-11-28 Thread Seamus Campbell
OK - thanks for that. There's no way to check validity with CFZIP other than by unzipping the file, which really is the only way to really ensure that the file can be unzipped anyway. You can use Java to directly check for the magic number that zip files contain in their first four bytes

Re: check validity of zip file with cfzip

2012-11-21 Thread Dave Watts
Is there any to check the validity of a zip file with cfzip. I can't see anything in the docs. The only way I could see was to do a cftry, but that seemed cumbersome. My problem is that I receive a zipped file from an external source, so need to be able to verify that it is a valid zip

Re: Check for list of words in string

2011-10-11 Thread Matt Quackenbush
Regular expressions. if ( reFindNoCase((select|declare),myString) 0 ) { // at least one of the words is present } HTH On Tue, Oct 11, 2011 at 9:11 AM, Brian Cain bcc9...@gmail.com wrote: Hello all, I would like to check a string against a list of keywords and either null the

Re: Check for list of words in string

2011-10-11 Thread Raymond Camden
Just don't forget that any special characters in your keywords would have to be escaped. So for example, if your keyword is Cat.Dog, then the dot means something special. It isn't as quick, but a simple loop over the list and making use of findNoCase may work well. On Tue, Oct 11, 2011 at 9:16

RE: Check for list of words in string

2011-10-11 Thread Brook Davies
Wouldn't this also catch words like 'myselection'? Brook -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: October-11-11 7:16 AM To: cf-talk Subject: Re: Check for list of words in string Regular expressions. if ( reFindNoCase((select|declare),myString

Re: Check for list of words in string

2011-10-11 Thread Brian Cain
'myselection'? Brook -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: October-11-11 7:16 AM To: cf-talk Subject: Re: Check for list of words in string Regular expressions. if ( reFindNoCase((select|declare),myString) 0 ) { // at least one

Re: Check for list of words in string

2011-10-11 Thread Peter Boughton
Wouldn't this also catch words like 'myselection'? Yes. \b is your friend. :) Or possibly even stuff like (?=^|;)\s*(?:SELECT|DECLARE|EXEC|etc)\b to ensure this is stuff at a beginning of a string/statement. But I don't really agree with the general approach here. With cfqueryparam +

Re: Check for and removing some cookiees

2011-06-25 Thread Dave Watts
I think this would be easy but seems not.  We have a main site at www.oursite.com and then we have 2 subdomains.  We'll call them:   second.oursite.com and third.oursite.com. A person visits our main site at www.oursite.com and we set these two cookies: cfcookie name=TestWWW

Re: check for a base64 encoded string

2011-04-22 Thread John M Bliss
Why not just make the attempting toBinary() in a try/catch logic into a function? http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7ff3.html On Fri, Apr 22, 2011 at 9:25 AM, Brook Davies cft...@logiforms.com wrote: Short of attempting toBinary() in a

RE: check for a base64 encoded string

2011-04-22 Thread Brook Davies
To: cf-talk Subject: Re: check for a base64 encoded string Why not just make the attempting toBinary() in a try/catch logic into a function? http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172 e0811cbec22c24-7ff3.html On Fri, Apr 22, 2011 at 9:25 AM, Brook Davies cft

Re: check for a base64 encoded string

2011-04-22 Thread Dave Watts
Reason being that throwing exceptions are expensive and also an ugly way of programming an evaluation. IMHO.. Throwing exceptions isn't especially expensive, compared to whatever conditional logic they might otherwise replace. The ugliness thing is more a matter of the eye of the beholder, but

Re: check for a base64 encoded string

2011-04-22 Thread John M Bliss
Right...and, if you make it into a function, the aesthetic problem gets hidden and your code reads: isbase64() On Fri, Apr 22, 2011 at 11:36 AM, Dave Watts dwa...@figleaf.com wrote: Reason being that throwing exceptions are expensive and also an ugly way of programming an evaluation.

RE: check for a base64 encoded string

2011-04-22 Thread Brook Davies
: Re: check for a base64 encoded string Reason being that throwing exceptions are expensive and also an ugly way of programming an evaluation. IMHO.. Throwing exceptions isn't especially expensive, compared to whatever conditional logic they might otherwise replace. The ugliness thing is more

Re: check for a base64 encoded string

2011-04-22 Thread John M Bliss
: April-22-11 9:37 AM To: cf-talk Subject: Re: check for a base64 encoded string Reason being that throwing exceptions are expensive and also an ugly way of programming an evaluation. IMHO.. Throwing exceptions isn't especially expensive, compared to whatever conditional logic they might

Re: check for a base64 encoded string

2011-04-22 Thread Raymond Camden
:37 AM To: cf-talk Subject: Re: check for a base64 encoded string Reason being that throwing exceptions are expensive and also an ugly way of programming an evaluation. IMHO.. Throwing exceptions isn't especially expensive, compared to whatever conditional logic they might otherwise replace

Re: Check boxes

2011-03-04 Thread John M Bliss
update tablename set formfield1 = cfqueryparam value=#form.formfield1# cfsqltype=cf_sql_varchar where formfield2 in cfqueryparam value=#form.formfield2# cfsqltype=cf_sql_integer list=true On Fri, Mar 4, 2011 at 11:01 AM, Scott Williams myscottwilli...@yahoo.comwrote: Hello all -- I have a

Re: Check boxes

2011-03-04 Thread Brian Cain
Are you doing the update via a SQL statement or stored proc? On Fri, Mar 4, 2011 at 11:01 AM, Scott Williams myscottwilli...@yahoo.comwrote: Hello all -- I have a form that contains checkboxes which sends multiple record numbers to an action form for processing. For example, it would

Re: Check boxes

2011-03-04 Thread Scott Williams
Never mind -- I figured it out. This works: cfquery name=query2 datasource=#dsn# UPDATE aTable SET ColumnA = '#form.var1#' WHERE ColumnB IN (#form.var2#) /cfquery I had tried using IN in my update query except that I didn't include the parentheses. Scott

Re: Check boxes

2011-03-04 Thread Brian Cain
That is exactly what I was going to suggest. Good job. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Check boxes

2011-03-04 Thread Matt Quackenbush
Be sure to add cfqueryparam / to your query. If you want to know why, post a link to your live site, and we can show you. :-) ~| Order the Adobe Coldfusion Anthology now!

Re: Check boxes

2011-03-04 Thread Kelly
lol On 3/4/2011 12:26 PM, Matt Quackenbush wrote: Be sure to addcfqueryparam / to your query. If you want to know why, post a link to your live site, and we can show you. :-) ~| Order the Adobe Coldfusion Anthology

Re: Check boxes

2011-03-04 Thread Claude Schnéegans
SET ColumnA = '#form.var1#' WHERE ColumnB IN (#form.var2#) How ever, make sure you check for form.var2 not being empty, because ColumnB IN () causes an error. ~| Order the Adobe Coldfusion Anthology now!

Re: Check out this... code....

2010-08-31 Thread Bryan Stevenson
Just goes to showpeople will make things work no matter how convoluted the code may become ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web:

Re: Check out this... code....

2010-08-31 Thread Eric Cobb
I'm glad you posted this today, I just found this one a few minutes ago: #Year(DateAdd(, 1, Now()))-1# Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com Rick Root wrote: Three fun pieces of code I found today while doing some maintenance on code

RE: Check out this... code....

2010-08-31 Thread Andy Matthews
You're right. The correct version should be: #Year(DateAdd(, 0, Now()))# No need for the -1. andy -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent: Tuesday, August 31, 2010 4:13 PM To: cf-talk Subject: Re: Check out this... code I'm glad you posted

RE: Check out this... code....

2010-08-31 Thread Rick Eidson
Must be going through some of my old code... :) I find some shtuff in my own code all the time. Rick -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Tuesday, August 31, 2010 4:25 PM To: cf-talk Subject: RE: Check out this... code You're right

Re: Check out this... code....

2010-08-31 Thread Eric Cobb
...@ecartech.com] Sent: Tuesday, August 31, 2010 4:13 PM To: cf-talk Subject: Re: Check out this... code I'm glad you posted this today, I just found this one a few minutes ago: #Year(DateAdd(, 1, Now()))-1# Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com

Re: Check for remote CFC call in CF 8

2010-06-15 Thread Azadi Saryev
specifically for detecting jquery ajax calls to remote cfc functions you can use something like this: cfset headers = getHttpRequestData().headers cfif structKeyExists(headers, X-Requested-With) AND headers[X-Requested-With] eq XMLHttpRequest it's an ajax request using jquery! /cfif more

Re: Check for remote CFC call in CF 8

2010-06-15 Thread Raymond Camden
Just to be clear - checking the header works when the library used for calls uses it. It's not 100% correct (but speaking practically, it is safe). On Tue, Jun 15, 2010 at 10:23 AM, Azadi Saryev azadi.sar...@gmail.com wrote:  specifically for detecting jquery ajax calls to remote cfc functions

Re: Check Boxes

2009-12-08 Thread Charlie Griefer
Showing code would be a good first step... On Tue, Dec 8, 2009 at 6:27 AM, Damo Drumm damien.dr...@quinn-group.comwrote: Hi can someone help me out here, Im trying to have a check box for each invoice so when its ticked and you press submit all the ticked invoices will be sent to the

Re: Check Boxes

2009-12-08 Thread Won Lee
On Tue, Dec 8, 2009 at 9:27 AM, Damo Drumm damien.dr...@quinn-group.comwrote: Hi can someone help me out here, Im trying to have a check box for each invoice so when its ticked and you press submit all the ticked invoices will be sent to the revelant email address, I'm trying to have it so

Re: Check Boxes

2009-12-08 Thread Damo Drumm
Heres the code im using cfquery name=qgetcustomer datasource=#request.dsn# SELECT invoice.*, customer.CUSTOMER_Name FROM invoice left join customer on invoice.CUSTOMER_AccNum = customer.CUSTOMER_AccNum; /cfquery /select

Re: Check Boxes

2009-12-08 Thread Won Lee
cfquery name=qgetinvoices datasource=#request.dsn# select I.INVOICE_DateAdded, I.COMPANY_Number, I.INVOICE_Number, C.COMPANY_Name, I.INVOICE_Key, I.CUSTOMER_AccNum, CU.CUSTOMER_Name from INVOICE I, COMPANY C, CUSTOMER CU where I.COMPANY_Number = C.COMPANY_Number AND I.COMPANY_Number =

Re: Check Boxes

2009-12-08 Thread Damo Drumm
This was what i meant to put in instead of qgetcustomer query So am I still missing a join somewhere cfif isdefined(url.invoice) cfquery name=qgetcompanyno datasource=#request.dsn# select COMPANY_Number, INVOICE_Number, CUSTOMER_AccNum from INVOICE

Re: Check Boxes

2009-12-08 Thread Won Lee
On Tue, Dec 8, 2009 at 10:35 AM, Damo Drumm damien.dr...@quinn-group.comwrote: This was what i meant to put in instead of qgetcustomer query So am I still missing a join somewhere cfif isdefined(url.invoice) cfquery name=qgetcompanyno datasource=#request.dsn#

Re: Check Boxes

2009-12-08 Thread Damo Drumm
The company table represents the seller, and the Customer table represents the individual Buyers. Invoice_Number is unique but I also have INVOICE_Key in the INVOICE table ~| Want to reach the ColdFusion community with

Re: Check Boxes

2009-12-08 Thread Won Lee
On Tue, Dec 8, 2009 at 11:53 AM, Damo Drumm damien.dr...@quinn-group.comwrote: The company table represents the seller, and the Customer table represents the individual Buyers. Invoice_Number is unique but I also have INVOICE_Key in the INVOICE table If that is the case then the query

Re: Check for Specific Numeric Date

2009-09-25 Thread Charlie Griefer
isNumeric(form.num) will always evaluate to 0 (and not 4). It's a literal string (by virtue of the fact that it's enclosed in quotes). So this condition will never be true. What you want is isNumeric(form.num). Which will return true or false. So when you say isNumeric(form.num) eq 4... I'm

RE: Check for Specific Numeric Date

2009-09-25 Thread Steve LaBadie
LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slaba...@po-box.esu.edu -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Friday, September 25, 2009 4:09 PM To: cf-talk Subject: Re

Re: Check for cfwindow

2008-02-22 Thread gayan balasooriya
Thank you very much Azadi Saryev. It worked really well. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive:

Re: Check for cfwindow

2008-02-22 Thread gayan balasooriya
Thanks Azadi Saryev. It worked well. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive:

Re: Check for cfwindow

2008-02-21 Thread Azadi Saryev
can't you use some url parameter when your page is a source of cfwindow and hide the header/footer when that param is present? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ gayan balasooriya wrote: I have a web page that contains a header and a footer. If the page is inside a

Re: Check File For Change

2007-10-15 Thread Jochem van Dieten
Robert Rawlins - Think Blue wrote: Now, I'm looking for a method to ensure that the file has not been modified on the file system since the user uploaded it, the chances of it being modified are exceptionally slim, I know, but the consequences of it having happened are quite serious, so I need

Re: Check File For Change

2007-10-15 Thread Claude Schneegans
How are you going to guarantee the person that changes the file doesn't change the registered hash too? Easy: don't put the registered hash in the edit form. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

Re: Check File For Change

2007-10-14 Thread Claude Schneegans
Does that sounds like a fair concept? It sure is. I have written such a tag and it works. I use it to make sure two images are not the same, even if they have different file names. But I have not publish the tag yet. I also have a tag that return a correct time stamp about a file, to the

RE: Check File For Change

2007-10-14 Thread Robert Rawlins - Think Blue
of how it works, you can mail me off list if you'd prefer to keep it private. Thanks again for the advice mate, I'll look into that directory tag too. Rob -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: 14 October 2007 16:45 To: CF-Talk Subject: Re: Check File

Re: Check File For Change

2007-10-14 Thread Claude Schneegans
Even if the tag is not published I'd love to hear a little about the concepts of how it works, you can mail me off list if you'd prefer to keep it private. Actually, it does not use MD5 algorithm, but a CRC-32 checksum, which returns an 8 characters hexadecimal value. The probability of having

Re: Check File For Change

2007-10-14 Thread James Holmes
The inbuilt Java crc32 code might work well too: http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/CRC32.html On 10/15/07, Claude Schneegans [EMAIL PROTECTED] wrote: Even if the tag is not published I'd love to hear a little about the concepts of how it works, you can mail me off list

RE: Check File For Change

2007-10-13 Thread William Seiter
Would you be able to compare the date/time of the upload to the date/time of the 'last update' for the file? This could shed some light on whether the file had been opened/re-saved since the upload. (however it would not show if it had been opened and 'not changed', only re-saved. William --

RE: Check for get variable

2007-09-25 Thread Dale Fraser
What's a Get variable? Do you mean Set cfset myVariable = false / cfoutput#myVariable#/cfoutput Regards Dale Fraser http://learncf.com -Original Message- From: nicolai bass dh [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 September 2007 9:35 PM To: CF-Talk Subject: Check for get

Re: Check for get variable

2007-09-25 Thread Mark Drew
cfparam is your friend? On 9/25/07, Dale Fraser [EMAIL PROTECTED] wrote: What's a Get variable? Do you mean Set cfset myVariable = false / cfoutput#myVariable#/cfoutput Regards Dale Fraser http://learncf.com -Original Message- From: nicolai bass dh [mailto:[EMAIL

Re: Check for get variable

2007-09-25 Thread nicolai bass dh
Dear Dale, thank you for your reply. I want to check if the variable iid is set via a link. For example: a href=domain.tld/test.cfm?iid=1dfdfd/a If the variable iid has a value i want to display an other content as before. Thank you and with best regards Stivn.

RE: Check for get variable

2007-09-25 Thread Dale Fraser
cfif isDefined(url.iid) cfoutput#url.iid#/cfoutput /cfif Regards Dale Fraser http://learncf.com -Original Message- From: nicolai bass dh [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 September 2007 10:18 PM To: CF-Talk Subject: Re: Check for get variable Dear Dale, thank you

Re: Check for get variable

2007-09-25 Thread Dominic Watson
In ColdFusion, get variables are put in the 'url' scope. So: cfparam name=url.iid default=0 cfif url.iid EQ 1 etc. Hope that helps, Dom On 25/09/2007, nicolai bass dh [EMAIL PROTECTED] wrote: Dear Dale, thank you for your reply. I want to check if the variable iid is set via a

Re: Check for get variable

2007-09-25 Thread Stivn ..
OK, thank you all. I solved it with cfparam :) ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now

Re: Check / Validate Emailadress

2007-09-04 Thread JediHomer
If you are using CF7+ you can use isValid(email, sMyEmailAddress) On 04/09/07, nicolai bass dh [EMAIL PROTECTED] wrote: Hello, i want to know how i could validate an emailadress after posting. Is there an existing function in CF? Thank your for your help with best regards Nic

Re: Check / Validate Emailadress

2007-09-04 Thread Tom Chiverton
On Tuesday 04 Sep 2007, [EMAIL PROTECTED] wrote: If you are using CF7+ you can use isValid(email, sMyEmailAddress) Be aware this only performs a syntax check. It in no way makes sure that the address is 'live'. -- Tom Chiverton Helping to greatly syndicate best-of-breed design-patterns on:

RE: Check database connections

2007-05-02 Thread Jacob
Well.. for SQL server... Do you have access to the database server? You can use a perfmon to see current connections. Also, for SQL 2000 you can use Enterprise Manager (Management - Current Activity) and for SQL 2005 you can use SQL studio. Jacob -Original Message- From: Tom G

Re: Check database connections

2007-05-02 Thread Tom G
Well.. for SQL server... Do you have access to the database server? You can use a perfmon to see current connections. Also, for SQL 2000 you can use Enterprise Manager (Management - Current Activity) and for SQL 2005 you can use SQL studio. Jacob -Original Message- From: Tom G

RE: Check database connections

2007-05-02 Thread Brad Wood
: Wednesday, May 02, 2007 3:41 PM To: CF-Talk Subject: Re: Check database connections Well.. for SQL server... Do you have access to the database server? You can use a perfmon to see current connections. Also, for SQL 2000 you can use Enterprise Manager (Management - Current Activity) and for SQL 2005

RE: Check for valid email before CFMAIL

2007-05-01 Thread Andy Matthews
You can check to see if the email is syntactically correct, but short of opening a socket to the mail server used by that email, there's no way of checking that it's a real email address. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01,

Re: Check for valid email before CFMAIL

2007-05-01 Thread Josh Nathanson
I've got a database that didn't use form validation and some email addresses are not valid. So before I use the cfmail tag to send these out how can I check to make sure it's a valid email address? It depends what you mean by valid. You can check for valid syntax on the fly using

Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
google, isEmail +site:cflib.org You won't be able to use the query attribute on cfmail if you have badly formatted email addresses in your database though... unless you loop through the query and correct or remove the rows with invalid email addresses first using the UDF you find on cflib. Rick

Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
Shoot I forgot.. CFMX 7 introduced isValid() which allows you to validate the format of an email address. google isValid +site:livedocs.adobe.com ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with

Re: Check for valid email before CFMAIL

2007-05-01 Thread Robertson-Ravo, Neil (RX)
Sent: Tue May 01 18:59:33 2007 Subject: Re: Check for valid email before CFMAIL Shoot I forgot.. CFMX 7 introduced isValid() which allows you to validate the format of an email address. google isValid +site:livedocs.adobe.com

Re: Check for valid email before CFMAIL

2007-05-01 Thread Matt Robertson
verify your email addresses above the cfmail statement as described. if not valid email then branch your code to notify somebody that Record X has a sucky address that needs fixing (I compile a complete list of all failures and only send the list once its finished). After that, surround your

Re: Check Boxes not checked

2007-01-31 Thread Alan Rother
Can you send a larger chunk of the code? I cant tell if this code is in a loop or not. Also the value getMemberEmailGroupsRet.GroupID I am assuming this is from a query? In any case, something above this is probably the cause of your problem. Best guess, the GroupID is not getting incremented,

Re: Check Boxes not checked

2007-01-31 Thread Bryan Stevenson
I'm not quite sure what your code is doing, but when I do what you appear to be doing, I'm always comparing the current value is found in a list...then I chek the box (as multiple checkboxes with the same name have their values passed as a list). So something like (assuming outputting

Re: Check Boxes not checked

2007-01-31 Thread Bruce Sorge
cfloop from=1 to=#ArrayLen(EmailListArray)# index=x cfoutput td width=20 input type=checkbox name=emailgroup value=#EmailListArray[x][1]# cfif EmailListArray[x][1] IS getMemberEmailGroupsRet.GroupID Checked/cfif /td td

RE: Check Boxes not checked

2007-01-31 Thread Brad Wood
What is x? Are you incrementing it? Perhaps that needs to be currentrow? Are you looping over a query? Otherwise getMemberEmailGroupsRet.GroupID will always return the value for the first record in the result set? ~Brad -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED]

Re: Check Boxes not checked

2007-01-31 Thread Bruce Sorge
In case anyone is wondering, regarding the checkbox issue, I am querying two tables. tblEmailGroups and tblEmailGroupNames tblEmailGroupNames has the names and ID of all of the email groups that a user can check to subscribe to. tblEmailGroups contains the GroupID of the email group and the

Re: Check Boxes not checked

2007-01-31 Thread Sam
getMemberEmailGroupsRet.GroupID will only return the first record. Is that your intention? If not try listFind() On 1/31/07, Bruce Sorge [EMAIL PROTECTED] wrote: In case anyone is wondering, regarding the checkbox issue, I am querying two tables. tblEmailGroups and tblEmailGroupNames

RE: Check Boxes not checked

2007-01-31 Thread Brad Wood
are checking each subscribed group against each available group. ~Brad -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 3:06 PM To: CF-Talk Subject: Re: Check Boxes not checked cfloop from=1 to=#ArrayLen(EmailListArray)# index=x cfoutput

Re: Check Boxes not checked

2007-01-31 Thread Bruce Sorge
Thanks to everyone who helped out on this one. I got it to work like this: I used Bryan's example and it worked fine. input type=checkbox name=emailgroup value=#EmailListArray[x][1]# cfif ListFind(EmailListArray[x][1], getMemberEmailGroupsRet.GroupID) Checked/cfif

Re: Check Boxes not checked

2007-01-31 Thread Bryan Stevenson
Sweet.glad it helped ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any

RE: Check a CF page

2006-11-14 Thread Ben Nadel
Do a CFHTTP page grab and check the CFHTTP.FileContent for a phrase that ONLY a properly working page would output. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From:

Re: Check a CF page

2006-11-14 Thread Ryan Stille
Orlini, Robert wrote: How can I check a CF page to make sure CF is still working. I'm thinking I create a probe and run it with a scheduler. Thanks. Robert O. HWW There are many ways to do this. One would be to use something like http://mon.itor.us/ and point it to a ColdFusion

RE: Check a CF page

2006-11-14 Thread Orlini, Robert
Thanks Ben and Ryan. The CFHHTP worked. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 12:22 PM To: CF-Talk Subject:RE: Check a CF page Do a CFHTTP page grab and check the CFHTTP.FileContent for a phrase that ONLY

RE: Check URL

2006-11-08 Thread Ray Champagne
Check the HTTP header? 200 OK. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 4:15 PM To: CF-Talk Subject: Check URL Is there any way to check whether a Home Page using .cfm loads? Maybe checking if the standard CF error

RE: check box code CF New-B

2006-10-09 Thread Ian Skinner
FORM PAGE input type=checkbox name=NOIDecision value=checked ACTION PAGE cfif StructKeyExists(form,NOIDecision) !--- Do stuff because the checkbox was selected. --- cfelse !--- Do stuff because the checkbox was not selected. --- /cfif The deal with checkboxes and radio buttons

Re: check for unvared variables in a cfc

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 23:18, Munson, Jacob wrote: If you have another variable with the same name as a CFC variable in the same scope, your CFC's variable values could 'bleed' into your other scope variable. That's about it - typical things that happen are that query results or loop

Re: check for unvared variables in a cfc

2006-08-10 Thread Denny Valliant
Yeah, where it totally kills you is recursive functions. You /gotta/ var those! :D On 8/10/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006 23:18, Munson, Jacob wrote: If you have another variable with the same name as a CFC variable in the same scope, your CFC's

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
We are not avoiding varing variables... Just some variables might be unvared and I want to know which ones, so that I can var them. -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 6:11 PM To: CF-Talk Subject: RE: check for unvared

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
[mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 7:21 AM To: CF-Talk Subject: Re: check for unvared variables in a cfc Yeah, where it totally kills you is recursive functions. You /gotta/ var those! :D On 8/10/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006

RE: check for unvared variables in a cfc

2006-08-10 Thread Sean Coyne
http://www.schierberl.com/varScoper/ -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:14 AM To: CF-Talk Subject: RE: check for unvared variables in a cfc Well most of us know why we should var the local variables inside a cfc function, but my

Re: check for unvared variables in a cfc

2006-08-10 Thread Robertson-Ravo, Neil (RX)
-Original Message- From: Russ To: CF-Talk Sent: Thu Aug 10 14:13:59 2006 Subject: RE: check for unvared variables in a cfc Well most of us know why we should var the local variables inside a cfc function, but my question was, are there tools that help you find unvared variables? I

  1   2   3   4   >