/[nuke]/html/upgrades/upgrade2-25.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /html/upgrades/upgrade2-25.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Wed Sep 20 16:40:53 2000 UTC (23 years, 8 months ago) by dpavlin
Branch: dbp, MAIN
CVS Tags: r3_6, HEAD
Changes since 1.1: +0 -0 lines
import of version 3.6

1 <?php
2
3 # File to upgrade PHP-Nuke from 2.0x to 2.5
4 # After use this, you can delete it
5
6 include("config.php");
7 include("mainfile.php");
8 dbconnect();
9
10 $result = mysql_query("CREATE TABLE pollcomments (tid int(11) DEFAULT '0' NOT NULL auto_increment, pid int(11) DEFAULT '0', pollID int(11) DEFAULT '0', date datetime, name varchar(60) DEFAULT '' NOT NULL, email varchar(60), url varchar(60), host_name varchar(60), subject varchar(60) DEFAULT '' NOT NULL, comment text NOT NULL, score tinyint(4) DEFAULT '0' NOT NULL, reason tinyint(4) DEFAULT '0' NOT NULL, PRIMARY KEY (tid))");
11 if (!$result) {
12 echo "Creation of pollcomments table failed!<br>" .mysql_errno(). ": ".mysql_error(). "<br>";
13 return;
14 }
15 echo "PHP-Nuke Tables Updated, Ok...";
16 ?>

  ViewVC Help
Powered by ViewVC 1.1.26