okay so i want to redirect with php all users that have referer using php. the ones that have no referer dont get redirected. ive lost the code for it, and it was preety small and neat
hi again shabbir im just looking for working code, i dont care if it will be with get or anything else. lets say i have wordpress blog and want to redirect everybody who has referer to 2nd page.
I always look for people who want to learn what they are using anyway strictly writing, below is the code for what you are saying: PHP: <?php $referer = $_SERVER['HTTP_REFERER']; if (isset($referer)) { header("location:placeyouwant"); } ?> Be sure to drop the reply if you want something different. Regards Deadly Ghos7