Thanks fellow pilgrim :o)

Thanks, Mark 

-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 21, 2003 4:30 PM
To: CF-Talk
Subject: RE: Wildcard in statements


No, not with a direct string comparison.  You must make your pilgrimage to
the temple of RegEx.

<cfif REfind("http://www\.mysite\.com/folder/.*\.cfm";, cgi.http_referer) GT
0>

that should do it.

barneyb

> -----Original Message-----
> From: Mark Leder [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 1:25 PM
> To: CF-Talk
> Subject: Wildcard in statements
>
>
> Can a wildcard character, such as a "*" be used successfully in the 
> following statement, or is there a better way:
>
> <cfif CGI.HTTP_REFERER IS "http://www.mysite.com/folder/*.cfm";>
>
> Thanks, Mark
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to