ProLegitZ
Jacob is here bitch !
- May 11, 2012
- 606
- 56
Introduction
Hey Again, Well Heres Project ET 2.0 In Development :],
We Had A Few "Glitches" But This Time, The Codes 100% Exploit Free,
If You See Any "Glitches" Please Feel Free To Comment In The Thread
Features
-New User System
-New Theme
-Simple PHP Code
Code Snippets
CONFIG.PHP FILE
PHP:
<?php
$mysql['host'] = '127.0.0.1';
$mysql['port'] = '3306';
$mysql['user'] = 'root'; // suggested to make a new account instead of using root for security purposes
$mysql['password'] = ''; // suggested to generate one for security.
$mysql['db'] = 'projectet';
$theme['type'] = 'original'; // original or Infinate theme
$config['sitename'] = "ProjectET 2.0";
$config['shortname'] = "ET";
$site['url'] = "http://localhost"; // no ending slash
?>
CORE.PHP FILE
PHP:
<?php
// Get system files
@require_once "./configuration/func.php";
@require_once "./configuration/config.php";
// Define variables
define("IDPATH", $_SESSION['idpath']);
define("USERNAME", $_SESSION['username']);
// Connect to MySQL
$connection = @mysql_connect($mysql['host'] . ":" . $mysql['port'], $mysql['user'], $mysql['pass']);
if(!$connection)
{
sError("MySQL Cannot Connect.");
}
?>
Code:
CREATE TABLE IF NOT EXISTS `NEWS` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` int(11) NOT NULL DEFAULT 'No Title.',
`description` int(11) NOT NULL DEFAULT 'No Description.',
`news` int(12) NOT NULL DEFAULT 'This can be a story, or not',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=39 ;