CyberGL
search in CyberGL only
1 Visitor, 0 Member logged in
Signup Activation Login
Newer version of phpForm is available,
released on 30 December 2002, has been downloaded for 1793 times.
Please visit phpForm ver 0.0.3 to get more information.
Database phpForm
# phpMyAdmin MySQL-Dump
# http://phpwizard.net/phpMyAdmin/
#
# Host: localhost Database : phpForm

# --------------------------------------------------------
#
# Table structure for table 'field'
#

CREATE TABLE form_field (
field_id mediumint(7) unsigned DEFAULT '0' NOT NULL auto_increment,
form_id smallint(5) unsigned DEFAULT '0' NOT NULL,
title char(64) NOT NULL,
name char(32) NOT NULL,
type enum('text','password','radio','checkbox','listbox','textarea','submit','hidden') DEFAULT 'text' NOT NULL,
value char(255) NOT NULL,
size tinyint(2) unsigned DEFAULT '0' NOT NULL,
maxlength tinyint(2) unsigned DEFAULT '0' NOT NULL,
rows tinyint(2) unsigned DEFAULT '0' NOT NULL,
cols tinyint(2) unsigned DEFAULT '0' NOT NULL,
status enum('','checked','selected') NOT NULL,
vieworder tinyint(2) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (field_id),
KEY formname (form_id)
);

#
# Dumping data for table 'field'
#

INSERT INTO form_field VALUES( '1', '1', 'note', 'note', 'hidden', 'This is example form', '0', '0', '0', '0', '', '1');
INSERT INTO form_field VALUES( '2', '1', 'Name', 'name', 'text', '', '0', '0', '0', '0', '', '2');
INSERT INTO form_field VALUES( '3', '1', 'Email', 'email', 'text', '', '0', '0', '0', '0', '', '3');
INSERT INTO form_field VALUES( '4', '1', 'Male', 'gender', 'radio', 'male', '0', '0', '0', '0', 'checked', '4');
INSERT INTO form_field VALUES( '5', '1', 'Female', 'gender', 'radio', 'female', '0', '0', '0', '0', '', '5');
INSERT INTO form_field VALUES( '6', '1', 'Married', 'married', 'checkbox', 'married', '0', '0', '0', '0', '', '6');
INSERT INTO form_field VALUES( '7', '1', 'Favorite color', 'color', 'listbox', 'blue;red;yellow;purple;white;black', '0', '0', '0', '0', '', '7');
INSERT INTO form_field VALUES( '8', '1', 'Comment', 'comment', 'textarea', '', '0', '0', '0', '0', '', '8');
INSERT INTO form_field VALUES( '9', '1', 'Submit Button', 'submit', 'submit', 'Submit', '0', '0', '0', '0', '', '9');

# --------------------------------------------------------
#
# Table structure for table 'form'
#

CREATE TABLE form_data (
form_id smallint(5) DEFAULT '0' NOT NULL auto_increment,
formname char(32) NOT NULL,
formtitle char(255) NOT NULL,
actiontype enum('email','file') DEFAULT 'email' NOT NULL,
email char(255) NOT NULL,
createdate date DEFAULT '0000-00-00' NOT NULL,
response char(64) NOT NULL,
PRIMARY KEY (form_id),
KEY formname (formname),
UNIQUE formname_2 (formname)
);

#
# Dumping data for table 'form'
#

INSERT INTO form_data VALUES( '1', 'example', 'This is example form', 'file', '', '2001-05-03', 'http://www.cybergl.co.id');

# --------------------------------------------------------
#
# Table structure for table 'log'
#

CREATE TABLE form_log (
log_id int(9) DEFAULT '0' NOT NULL auto_increment,
formname char(16) NOT NULL,
timestamp timestamp(14),
action char(32) NOT NULL,
PRIMARY KEY (log_id),
KEY form_id (formname)
);


Login Form
Login:
Password:
Lost Password?