Re: Need help validating a URL...

2000-08-30 Thread Jamie Keane

How about...

cfif Left(var,7) is not "http://" 
(error message...)
/cfif

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Edward Chanter [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, August 30, 2000 4:33 AM
Subject: Need help validating a URL...


Hey Gurus,

Does anyone know a quick way to take a url input into a form and check to
see if the user has put in the http:// ??? There must be a way to do it in
CF but I haven't found it yet... Been searching the archives for ages but
so
far with no luck... :-(

Any help would be most appreciated!

TiA

 -= Edward

---
---
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Need help validating a URL...

2000-08-30 Thread Edward Chanter

Thanks Jamie, I figured it out using a slightly different technique, a
simple REFindNoCase did the job... Thanks anyway!

 -Original Message-
 From: Jamie Keane [mailto:[EMAIL PROTECTED]]
 Sent: 30 August 2000 2:01 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Need help validating a URL...


 How about...

 cfif Left(var,7) is not "http://" 
 (error message...)
 /cfif

 --
 Jamie Keane
 Programmer
 SolutionMasters, Inc.
 9111 Monroe Rd., Suite 100
 Charlotte, NC  28270
 www.solutionmasters.com
 704.563.5559 x 228  Voice
 704.849.9291  Fax
 -Original Message-
 From: Edward Chanter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Date: Wednesday, August 30, 2000 4:33 AM
 Subject: Need help validating a URL...


 Hey Gurus,
 
 Does anyone know a quick way to take a url input into a form and check to
 see if the user has put in the http:// ??? There must be a way
 to do it in
 CF but I haven't found it yet... Been searching the archives for ages but
 so
 far with no luck... :-(
 
 Any help would be most appreciated!
 
 TiA
 
  -= Edward
 
 -
 --
 ---
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.

 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.