Junior Spellweaver
- Joined
- Mar 12, 2015
- Messages
- 111
- Reaction score
- 8
Meller CMS ~ Development
WARNING: The Meller cms is not Secure! This is my first try to a CMS. It may contain Exploits.
Things that's done or planing.
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Register (79%]
Login [94%]
Client [100%]
Exploits [21%]
News [69%]
Topusers [0%]
MySQLI [0%]
MySQL [98%]
PDO [0%]
Language switch [50%]
-_-_-_-_-_-_-_-_-_-_-_-_-
Prints
Code snippets:
Remember this is my first CMS try,
Got suggestion? Leave a comment.
--------Update--------
Another page done.
WARNING: The Meller cms is not Secure! This is my first try to a CMS. It may contain Exploits.
Things that's done or planing.
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Register (79%]
Login [94%]
Client [100%]
Exploits [21%]
News [69%]
Topusers [0%]
MySQLI [0%]
MySQL [98%]
PDO [0%]
Language switch [50%]
-_-_-_-_-_-_-_-_-_-_-_-_-
Prints
![Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums](http://i.imgur.com/k53FOQc.png)
![Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums](http://i.imgur.com/rYNGfah.png)
![Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums](http://i.imgur.com/rBEi8Zn.png)
![Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums](http://i.imgur.com/QaSsL9u.png)
Engine
PHP:
<?php
require_once('config.php');
/*------------MySQL ~ Connect-------------*/
if ($MySQL['type'] == 'MySQL' && $MySQL['connect'] == 'Connect')
{
// PhpMyAdmin
$phpmyadmin = mysql_connect($MySQL['hostname'], $MySQL['username'], $MySQL['password']);
if (!$phpmyadmin)
{
die ('<b>PHPMyAdmin Error</b>: ' . mysql_error());
}
// DB
$phpmyadmindb = mysql_select_db($MySQL['database'], $phpmyadmin);
if (!$phpmyadmindb)
{
die ('<b>Database Error</b>: ' . mysql_error());
}
}
/*------------MySQL ~ PConnect-------------*/
if ($MySQL['type'] == 'MySQL' && $MySQL['connect'] == 'PConnect')
{
// PhpMyAdmin
$phpmyadmin = mysql_pconnect($MySQL['hostname'], $MySQL['username'], $MySQL['password']);
if (!$phpmyadmin)
{
die ('<b>PHPMyAdmin Error</b>: ' . mysql_error());
}
// DB
$phpmyadmindb = mysql_select_db($MySQL['database'], $phpmyadmin);
if (!$phpmyadmindb)
{
die ('<b>Database Error</b>: ' . mysql_error());
}
}
?>
Got suggestion? Leave a comment.
--------Update--------
Another page done.
![Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums Meller Plus - MellerCMS Easy coded, NOT SECURE - RaGEZONE Forums](http://i.imgur.com/9CYvVlE.png)
Last edited: