Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder d'Anconia's Avatar
    Join Date
    Jan 2010
    Location
    Tempe, AZ
    Posts
    149
    Thanks
    16
    Thanked 6 Times in 6 Posts

    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.
    Datagonia Web (My Portfolio)

    Powerful ideas for all lovers of personal and political freedom:
    Freedomain Radio
    Free Talk Live

  • #2
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    335
    Thanks
    2
    Thanked 49 Times in 48 Posts
    PHP's referrer - $_SERVER['HTTP_REFERER'] will show you which page sent the user to the page it is on.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •