/includes/session.php

Description

Startup and session logic

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2007 PGV Development Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: session.php 981 2007-03-21 13:24:38Z fisharebest $
Includes
require ($INDEX_DIRECTORY."banned.php") (line 664)

Remote IP Address Banning

require ($INDEX_DIRECTORY."search_engines.php") (line 262)

Manual Search Engine IP Address tagging Allow and admin to mark IP addresses as known search engines even if they are not automatically detected above. Setting his own IP address in this file allows him to see exactly what the search engine receives.

To return to normal, the admin MUST use a different IP to get to admin mode or edit search_engines.php by hand.

require_once ("includes/functions_date.php") (line 699)
require_once ("includes/templecodes.php") (line 829)

The following business rules are used to choose currently active language

  1. If the user has chosen a language from the list or the flags, use their choice.

2. When the user logs in, switch to the language in their user profile 3. Use the language in visitor's browser settings if it is supported in the PGV site. If it is not supported, use the gedcom configuration setting. 4. When a user logs out their current language choice is ignored and the site will revert back to the language they first saw when arriving at the site according to rule 3.

require_once ("includes/functions_mediadb.php") (line 698)
require_once ("includes/functions_privacy.php") (line 835)
require_once ("hitcount.php") (line 1007)
require_once ("includes/functions_rtl.php") (line 695)
require_once (theme.php) (line 1001)
require_once (get_config_file()) (line 647)
require_once ("includes/menu.php") (line 476)
require_once ($INDEX_DIRECTORY."pgv_changes.php") (line 963)
require_once (get_privacy_file()) (line 833)
require_once (theme.php) (line 1004)
require_once ("includes/authentication.php") (line 431)
require_once ("includes/functions.php") (line 475)
require_once ("includes/authentication.php") (line 519)
require_once ("config_gedcom.php") (line 646)

Load GEDCOM configuration

require_once ("includes/functions.php") (line 428)

Check for configuration variable override.

Each incoming URI is checked to see whether it contains any mention of certain critical global variables that should not be changed, or that can only be changed within limits.

require_once ("includes/functions_db.php") (line 430)
require_once ("includes/lang_settings_std.php") (line 358)
require_once ($INDEX_DIRECTORY."lang_settings.php") (line 362)
require_once ("includes/functions_db.php") (line 480)
require_once ("includes/authentication.php") (line 577)
require_once ("privacy.php") (line 831)
require_once ($INDEX_DIRECTORY."gedcoms.php") (line 602)
require_once ("includes/authentication.php") (line 658)
require_once ("includes/authentication.php") (line 589)
require_once ("includes/authentication.php") (line 528)
require_once ("includes/functions_name.php") (line 656)
require_once ("includes/functions_print.php") (line 694)

do not include print functions when using the gdbi protocol

Functions
gen_spider_session_name (line 50)
void gen_spider_session_name ( $bot_name,  $bot_language)
  • $bot_name
  • $bot_language
isAlpha (line 46)
void isAlpha ( $value)
  • $value
isAlphaNum (line 42)

Startup and session logic

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2007 PGV Development Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: session.php 981 2007-03-21 13:24:38Z fisharebest $
void isAlphaNum ( $value)
  • $value

Documentation generated on Wed, 28 Mar 2007 09:54:36 -0600 by phpDocumentor 1.3.1