Thread: source grab
markus

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

perkiset

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.

markus

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...

perkiset

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


Perkiset's Place Home   Politics @ Perkiset's