[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/plugins/spamx/sql/ -> mssql_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  // |          Randy Kolenko     - randy AT nextide DOT ca                      |
  13  // +---------------------------------------------------------------------------+
  14  // |                                                                           |
  15  // | This program is licensed under the terms of the GNU General Public License|
  16  // | as published by the Free Software Foundation; either version 2            |
  17  // | of the License, or (at your option) any later version.                    |
  18  // |                                                                           |
  19  // | This program is distributed in the hope that it will be useful,           |
  20  // | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
  21  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                      |
  22  // | See the GNU General Public License for more details.                      |
  23  // |                                                                           |
  24  // | You should have received a copy of the GNU General Public License         |
  25  // | along with this program; if not, write to the Free Software Foundation,   |
  26  // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
  27  // |                                                                           |
  28  // +---------------------------------------------------------------------------+
  29  //
  30  // $Id: mssql_install.php,v 1.1 2006/08/28 18:42:25 dhaun Exp $
  31  
  32  $_SQL[] = "
  33  CREATE TABLE [dbo].[{$_TABLES['spamx']}] (
  34      [name] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
  35      [value] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL 
  36  ) ON [PRIMARY]
  37  ";
  38  
  39  ?>


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