I have a custom 404 script and I wanna make it so it says
you were refered from : blah blah
and I want the address bar to have the address to the page they were trying to find
how can I do this?
Custom 404 Error Messages
Moderator: General Moderators
-
rapaddict_dot_com
- Forum Commoner
- Posts: 27
- Joined: Tue Mar 16, 2004 4:54 pm
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
1) i really don't think this is the appropriate forum, but i have no power over that
2) to get the referrer, try:
3) address abr to have teh address to the page they were trying to find?? How are you going to do that? read their mind?
2) to get the referrer, try:
Code: Select all
$ref = $_SERVER['HTTP_REFERRER'];-
rapaddict_dot_com
- Forum Commoner
- Posts: 27
- Joined: Tue Mar 16, 2004 4:54 pm
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK