egroupware_official/addressbook/parsecard.php

32 lines
1.2 KiB
PHP
Raw Normal View History

2000-11-03 22:29:27 +01:00
<?php
2001-03-10 09:16:33 +01:00
/**************************************************************************\
* 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
2001-03-10 09:16:33 +01:00
/* $Id$ */
2000-11-03 22:29:27 +01:00
2001-03-10 09:16:33 +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);
2001-03-10 09:16:33 +01:00
unlink($filename . '.info');
Header('Location: ' . $phpgw->link('/addressbook/index.php','cd=14'));
?>