pHP q? programmers
pHP q? programmers
Out of context: Reply #9
- Started
- Last post
- 15 Responses
- cosmo0
you could check the server Referer $_SERVER["HTTP_REFERER"]
to check if user entered your site from an outside link, if they did just redirect them to your homepageif ("www.yoursite.com" != $_SERVER['REQUEST_URI'])
{
header ("location: www.yoursite.com");
}