The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 21, 2019, 01:05:19 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: source grab  (Read 2733 times)
markus
n00b
*
Offline Offline

Posts: 2


View Profile
« on: December 25, 2007, 01:04:44 PM »

Stared at the board not knowing where this goes...

Any ideas how I can capture info on the referring site in my application? (URL)

I have a bunch of lead generators posting to my forms and I'd like to know (if possible) where the customer came from.

I know many of the lead aggregators are running the application through a ping tree so I don't know if this info can be grabbed(?)

Thnx
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: December 26, 2007, 09:51:31 AM »

Hey Markus - I assume you are simply wanting the refering page - as simple as this?

$referrer = $_SERVER['HTTP_REFERER'];

I'm not sure what you mean "capture info on the refering site" - more than just where the user came from? Remember that the referer is really a courtesy variable from the surfers browser, so it can be wrong, spooffed or dropped outside of your control. IF the lead generators are in your control at all, you could put a query variable on to the posting string so that you know, but other than that I 'm at a bit of a loss as to what else you're trying to get.

If it's more BH and you need to share more than you want to in public, pm me or nuts and perhaps we can assist.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
markus
n00b
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: December 26, 2007, 11:17:27 PM »

I'm interested in knowing where a customer filled out an application before being posted to our app/system

Hope that helps.
If not, let me know and i'll try to provide more...
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #3 on: December 29, 2007, 01:03:48 PM »

If you're trying to track anything further behind than the <last> request, then you'll either need some connection to the sites behind you, or a more ... erm... progressive method which will still necessitate a bit more trickiness and connection to the previous sites. And most of the methods I can think of that are more dubious may involve undocumented features of IE or other things that are not as reliable as you might want.

/p
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!