Referrer verification/validation Javascript
Be sure to subscribe to the TPCS blog.
![]()
|
Be sure to check out our gadgets (widgets) section! |
Do you want to make sure that your visitors can only access your content via your domain. This Referrer verification / validation Javascript is very useful for this. This javascript verifies that the request for the page (containing the script) was made from a page on your domain. This is really useful for log in forms that you want to make sure that the visitor uses the form you provide on your server.
The below Javascript should be placed in the HEAD section of your HTML document.
To download this referrer verification Javascript click here. |
![]() |
Did you find the PHP or Javascript you were looking for?
Searching for scripts can be a time consuming effort. Be sure to save this site as a favorite by clicking here. Mozilla and Firefox users must press 'CTRL D' to bookmark this website.
|
Having trouble with the Referrer verification / validation script you found here? Ask Dave from TPCS for help! |




