[ PHPXref.com ] [ Generated: Sun Jul 20 19:45:58 2008 ] [ phpMSAdmin 0.14 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> function_drop.php (source)

   1  <?php
   2       /*
   3       Copyright (C)
   4  
   5       This program is free software; you can redistribute it and/or modify it
   6       under the terms of the GNU General Public License as published by the Free
   7       Software Foundation; either version 2 of the License, or (at your option)
   8       any later version.
   9  
  10       This program is distributed in the hope that it will be useful, but WITHOUT
  11       ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12       FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13       more details.
  14  
  15       You should have received a copy of the GNU General Public License along
  16       with this program; if not, write to the Free Software Foundation, Inc.,
  17       59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18       */
  19  ?>
  20  <?php
  21      include ('inc/header.php');
  22  
  23      mssql_select_db($_SESSION['database']);
  24  
  25      @mssql_query('DROP FUNCTION ' . urldecode($_GET['function']) . ';') or die(throwSQLError('unable to delete function'));
  26  
  27      if($_GET['returnto'] == '')
  28          $_GET['returnto'] = 'database_properties.php';
  29  
  30      echo('<meta http-equiv="refresh" content="0;url=' . $_GET['returnto'] . '">');
  31  
  32      include ('inc/footer.php');
  33  ?>


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