Title: Message
|
Not as trendy as the regex answers you'll get, but
ListGetAt(CGI.http_referrer, 2, "/") should do the trick.
Aaron
----- Original Message -----
Sent: Tuesday, December 28, 2004 11:56
PM
Subject: [cfaussie] extraction part text
from a url string
I am tracking referrer websites
using the #http_referrer# variable in cf and then recording the values in a
database table and example would be http://www.google.com.au/search?hl=en&q=sunshine+coast+airport+to+mooloolaba&meta=
is it possible to have some code
strip all content to the right of the third / by doing so it will provide me
with the primary referral without all the additional text.
Kind
Regards
Claude
Raiola B.Econ(Acc.); B.Hotel Mngt. Mobile: 0414 228 948 Phone: 07
5538 5961 Fax: 07
3319 6444
Websites: www.WebsiteSolutions.com.au www.AustralianAccommodation.com www.AccommodationNewZealand.com www.HospitalityPurchasing.net www.Samaris.net
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
---
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/
Aussie Macromedia Developers: http://lists.daemon.com.au/
|
<<website_solutions_banner.gif>>