Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-08-2012, 11:20 PM   PM User | #1
d'Anconia
Regular Coder

 
d'Anconia's Avatar
 
Join Date: Jan 2010
Location: Tempe, AZ
Posts: 143
Thanks: 15
Thanked 5 Times in 5 Posts
d'Anconia is an unknown quantity at this point
Precursor Page Reporting?

Simple question. Is there a simple way to get PHP and / or MySQL error reporting to let me know which page or link sent them to the current page where they are having the error?

I get my errors sent to my admin email (where I look through them to eventually fix the errors) and it seems somehow people are getting to a page that I would assume required $_GET variable to be passed, but that variable is not being passed to the new / current page. Unfortunately there might be multiple ways to get to the current page so it'd help if I could narrow down which link is sending them to the page without the $_GET variable.

Any help would be appreciated. Thank you.
__________________
Powerful ideas for all lovers of personal and political freedom:
Freedomain Radio
Free Talk Live
d'Anconia is online now   Reply With Quote
Old 12-09-2012, 12:32 AM   PM User | #2
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
PHP's referrer - $_SERVER['HTTP_REFERER'] will show you which page sent the user to the page it is on.
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk
Redcoder is offline   Reply With Quote
Reply

Bookmarks

Tags
$_get, error, precursor

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:10 PM.


Advertisement
Log in to turn off these ads.