displaying viewers name on site

They have: 406 posts

Joined: Feb 2000

Hello,

I was wondering if anyone knows where i can look to do the following:

1)I would like to have our homepage display "Hello whoever" whenever a returning customer returns to our page. I am not to sure on how to do that.Any ideas on where i can look or does anyone know how to do that? I only want the persons name to appear if and only if they have previously ordered from us.
2)I want to be able to pay people a % of what is sold if they link to us. If someone comes to our site from a link on someone elses page, i want to know how to know where they came from so i can credit people money for displaying the link. DOes that make sense?

------------------
Adam
[email protected]

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

They have: 5,633 posts

Joined: Jan 1970

When you said order from you, I am assuming you will be using a database to hold your product info?

If you have a membership system where the users is in a database and their information can be stored in a cookie then whenever they return to your site you can make it say Hello ... whoever with a simple line of code.

Thats one way...
Ravi

------------------
Lyricsh.com
Finding The Lyrics to Your Favorite Songs.

They have: 406 posts

Joined: Feb 2000

OK,
Forget about my question number 1. I already got that going. ANy thoughts on question 2 though. I have gotten recomendations on www.theaffiliateprogram.com but i was wondering if there was anything less expensive then that?

------------------
Adam
[email protected]

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Adam,

Are you on your own server? Do you have access to cgi? If not, two possibilities:
1) the referrer property -- tells you where the user came from. You can put it in a cookie or pass it along as needed.
2) have unique links: link1 directs to home1; link2 to home2; etc... all feed into the main site.

Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

They have: 406 posts

Joined: Feb 2000

Thanks for your help guys. I found a way to do both. THanks though!

------------------
Adam
[email protected]

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.