Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ASK] once per user script [ASK]
#1
Hello all, i need help with php scripts

Anyway, here's the story:

i have several freebies download. i want the user chooses only 1 of them. when a user goes to the page for the first time, there'll be download links in the sidebar. after he has downloaded one, the download links will disappear, even if he has closed his browser and come back again.

i'm thinking about using cookies. i set cookies named "bob". if "bob" is detected, the href scripts will not be shown, if "bob" is not detected, the href scripts will be shown.

or maybe create 2 clone pages, one contains no download links, the other contains download links. so, if "bob" is detected, user will be redirected to page with no download links and vice-versa (don't think this will work because the user must visit the main page first then "bob" is set instead of otherwise, but all suggestions are welcomed)

the thing is i'm not php savvy, so please anyone, help me.

sorry if the thread is a little bit confusing

Thanks
Reply


Messages In This Thread
[ASK] once per user script [ASK] - by helmut - 11-11-2010, 10:03 AM
RE: [ASK] once per user script [ASK] - by Brandon - 11-11-2010, 11:39 AM
RE: [ASK] once per user script [ASK] - by helmut - 11-11-2010, 06:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)