Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 save refferrer to DB

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
tribaliztic Posted - 12 January 2007 : 07:10:46
I have a page that all users are redirected to if they try to enter a url that don't exist on my site. Like www.site.com/snitz.asp --> www.site.com/pagenotfound.asp.

I have a user that very often end up on that page and want to know what page he's trying to reach. I thought that it would be a piece of cake to save the refferrer url to the db and then create a page that displays all url's that are not reached but got a brain meltdown. Can someone help me alittle? What I need help with is the sql to save the Refferrer-variable to the db.
<
2   L A T E S T    R E P L I E S    (Newest First)
tribaliztic Posted - 13 January 2007 : 01:24:01
Okay, and it will add to the table and not overwrite? =)
The simpler the better!
<
pdrg Posted - 12 January 2007 : 09:28:27
if you've got the request.http_referrer (or whatever its called, I forget) then you could just create a simple one-column table with a (say) varchar(1000) datatype, and

insert mytable
values (http_referrer)

At it's simplest, that's it...<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07