Home
About
Contact
HOME
HTML
CSS
JavaScript
C
C++
Java
Python
MySQL
Tips & Tricks
Web Design
Home
How To Know Referer Link Of A Visitors In Your Website In PHP
How To Know Referer Link Of A Visitors In Your Website In PHP
Kahnu044
September 07, 2020
<?php
if(isset($_SERVER['HTTP_REFERER'])) {
echo $_SERVER['HTTP_REFERER'];
}
?>
This code placed on that page which is user want to visit
When a visitor visits this page it saves his referrer link in
$_SERVER['HTTP_REFERER'];
this variable now insert this value to your database
Post a Comment
0 Comments
Search This Blog
Labels
Php
41
Web Design
37
CSS
23
HTML
22
Javascript
15
Tips & Tricks
15
MySQL
9
Java
8
Python
6
linux
6
Other
4
git
3
kali linux
3
laravel
3
sailsjs
3
wordpress
3
cmd
2
cpanel
2
firebase
2
node
2
react
2
xampp
2
C
1
C++
1
Django
1
Jquery
1
apache2
1
cloudflare
1
codeigniter
1
domain
1
github
1
hosting
1
mysql stopped
1
postgres
1
sbi
1
ssh
1
tailwind
1
tech
1
ubuntu
1
ubutnu
1
wifi
1
windows
1
windows 10
1
windows 11
1
Popular Posts
Remove a particular string from file name of multiple file name using cmd
March 29, 2022
Laravel session management
May 03, 2022
wp-admin 403 access denied
June 11, 2022
0 Comments