Home -> Law Blog Directory -> Legal Marketing & PR Blogs -> PaperStreet Web Design: SpeakOut
(866) 635-2689 for Personal Injury or (866) 635-9402 for Criminal Defense
Find a Local Lawyer
Divorce (866) 635-6190
Personal Injury (866) 635-2689
Criminal Defense (866) 635-9402
Legal Marketing & PR
: PaperStreet Web Design: SpeakOutWhere Did that Inquiry Come From? Contact Form Previous Page Detection in PHP
By Peter
It?s great to see where contact forms are submitted from. It allows you to track which pages are effective in landing inquiries. In addition to the standard info (name, email, phone), you can also detect what pages they submitted the form from.
Here is one of our standard inquiry forms with data excluded:
=============
Name: ***********
Firm Name: ***********
Email: ***********
Phone: ***********
Question: Looking to update our current website: www. ***********.com. Could you provide us with a quote? Would like to add some photos and possibly video to our site and email contact option.
Referral Page: http://www.paperstreet.com/webdesign.php
=============
In that case, the person visited our web design page and submitted their info. How did we know that? We used the HTTP_REFERER command.
Command to Use
‘HTTP_REFERER‘
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
http://us3.php.net/manual/en/reserved.variables.server.php
Code to Use
<?php echo ?Referral Page: ? . $_SERVER['HTTP_REFERER']; ?>
Full post as published by PaperStreet Web Design: SpeakOut on July 27, 2009 (boomark / email).
Employment Contracts
General Contract Law Principles
Bausch Lomb Renu Moistureloc Linked to Eye Infection Fusarium Keratiti
Contact Lens Solution Product Recall
Bausch Lomb Renu Moistureloc Recall
Contact Lens Solution Product Recall
Construction Contact
Kilbourn Tower pays the city of Milwaukee a $950,000 settlement.
DUI/DWI
If you have been arrested for drunk driving or driving under the influence you should contact an attorney immediately.

Child Abuse Central Index Self Inquiry
fMRI, Lie Detection, and Statistics
Memory Detection and Constitutional Rights
Brain-Based Lie Detection Retreats
Editorial on 'new' lie detection technologies in court proceedings (Reiner)
Will Filing a Form 433-F Help You








