[ PHPXref.com ] [ Generated: Sun Jul 20 19:39:24 2008 ] [ PhpGedView 4.0 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> clippings_download.php (source)

   1  <?php
   2  /**
   3   * Download clipping gedcom files that could not be saved.
   4   * 
   5   * phpGedView: Genealogy Viewer
   6   * Copyright (C) 2002 to 2005  PGV Development Team
   7   *
   8   * This program is free software; you can redistribute it and/or modify
   9   * it under the terms of the GNU General Public License as published by
  10   * the Free Software Foundation; either version 2 of the License, or
  11   * (at your option) any later version.
  12   *
  13   * This program is distributed in the hope that it will be useful,
  14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16   * GNU General Public License for more details.
  17   *
  18   * You should have received a copy of the GNU General Public License
  19   * along with this program; if not, write to the Free Software
  20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21   *
  22   * @version $Id: clippings_download.php,v 1.3.4.3 2006/06/09 23:44:47 yalnifj Exp $
  23   * @package PhpGedView
  24   * @subpackage DB
  25   */
  26  require  "config.php";
  27  require $confighelpfile["english"];
  28  if (file_exists($confighelpfile[$LANGUAGE])) require $confighelpfile[$LANGUAGE];
  29  
  30  header("Content-Type: text/plain");
  31  header("Content-Disposition: attachment; filename=clipping.ged");
  32  header("Content-length: ".strlen($_SESSION['clippings']));
  33  
  34  print_r ($_SESSION["clippings"]);
  35  
  36  
  37  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]