Adding error reporting if url requests it and phpinfo if debug called directly. NOTE: security needs to be addressed, localhost always does this and an additional IP maybe?