SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Page Not Found Reason
-
Jan 19, 2009, 21:43 #1
- Join Date
- Jun 2008
- Posts
- 279
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Page Not Found Reason
Hiya,
Upon a user being greeted with a "Page Not Found" page, how do you send details of what they were doing before the page displayed to an email address?
-
Jan 19, 2009, 23:41 #2
- Join Date
- Jan 2005
- Location
- heaven
- Posts
- 953
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Simply make a custom file not found page that is a PHP file and pull the information you want out of $_SERVER and email it.
Creativity knows no other restraint than the
confines of a small mind. - Me
Geekly Humor
Oh baby! Check out the design patterns on that framework!
-
Jan 22, 2009, 08:52 #3
- Join Date
- Jun 2008
- Posts
- 279
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No I mean how do I email what the user was trying to do before the "Page Not Found" screen was displayed?
Example EMail: The user attempted to view the xxxxx page, but the user was greeted with a "Page Not Found" error.
How do I track what the user was trying to do, whether he/she is logged into the system or not?
-
Jan 22, 2009, 08:58 #4
- Join Date
- Dec 2008
- Location
- Australia
- Posts
- 389
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
error_log
:-)
Bookmarks