[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/plugins/spamx/sql/ -> mysql_install.php (source)

   1  <?php
   2  
   3  /* Reminder: always indent with 4 spaces (no tabs). */
   4  // +---------------------------------------------------------------------------+
   5  // | Spam-X Plugin 1.1                                                         |
   6  // +---------------------------------------------------------------------------+
   7  // | Installation SQL                                                          |
   8  // +---------------------------------------------------------------------------+
   9  // | Copyright (C) 2004-2006 by the following authors:                         |
  10  // |                                                                           |
  11  // | Authors: Tom Willett       - tomw AT pigstye DOT net                      |
  12  // +---------------------------------------------------------------------------+
  13  // |                                                                           |
  14  // | This program is licensed under the terms of the GNU General Public License|
  15  // | as published by the Free Software Foundation; either version 2            |
  16  // | of the License, or (at your option) any later version.                    |
  17  // |                                                                           |
  18  // | This program is distributed in the hope that it will be useful,           |
  19  // | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
  20  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                      |
  21  // | See the GNU General Public License for more details.                      |
  22  // |                                                                           |
  23  // | You should have received a copy of the GNU General Public License         |
  24  // | along with this program; if not, write to the Free Software Foundation,   |
  25  // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
  26  // |                                                                           |
  27  // +---------------------------------------------------------------------------+
  28  //
  29  // $Id: mysql_install.php,v 1.1 2006/08/20 16:27:52 dhaun Exp $
  30  
  31  $_SQL[] = "
  32  CREATE TABLE {$_TABLES['spamx']} (
  33    name varchar(20) NOT NULL default '',
  34    value varchar(255) NOT NULL default '', 
  35    INDEX spamx_name(name)
  36  ) TYPE=MyISAM
  37  ";
  38  
  39  ?>


Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics