HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Use of referrer to identify visitor history
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
luigimoreno



Joined: 14 May 2008
Posts: 2

PostPosted: Thu May 15, 2008 6:13 am     Use of referrer to identify visitor history Reply with quote

I wish to identify visitors of my website coming from <xxxdomain.com/page1.htm>. I used this code, which works fine
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers<br>
if (document.referrer = "<xxxdomain.com/page1.htm>")
. . . . . . . . . . .
//-- Stop hiding script -->
</SCRIPT>
How could I identify visitors from a given domain (xxxdomain.com)(not from a specific URL address)? Can I use wildcard * or some other syntax to do so?
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial