egroupware_official/addressbook/parsecard.php

31 lines
1.1 KiB
PHP
Raw Normal View History

2000-11-03 22:29:27 +01:00
<?php
/**************************************************************************\
* phpGroupWare - addressbook *
* http://www.phpgroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* 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. *
\**************************************************************************/
2000-11-03 22:29:27 +01:00
/* $Id$ */
2000-11-03 22:29:27 +01:00
$phpgw_info["flags"] = array("currentapp" => "addressbook",
"enable_contact_class" => True,
"noheader" => True, "nonavbar" => True);
include("../header.inc.php");
2000-11-03 22:29:27 +01:00
2001-02-15 18:21:38 +01:00
//if($access == "group")
// $access = $n_groups;
//echo $access . "<BR>";
2000-11-03 22:29:27 +01:00
parsevcard($filename,$access);
// Delete the temp file.
unlink($filename);
unlink($filename . ".info");
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/addressbook/", "cd=14"));
2000-11-03 22:29:27 +01:00
?>