$_SESSION['description'] = $_POST['description']; $_SESSION['author'] = $_POST['author']; $_SESSION['code'] = $_POST['code']; $_SESSION['php'] = $_POST['php']; $_SESSION['mysql'] = $_POST['mysql']; } if (sizeof($_POST) > 0 && $_POST['name'] != '' && $_POST['description'] != '' && $_POST['author'] != '' && $_POST['code'] != '') { $plugin = new plugin(); $plugin->name = $_POST['name']; $plugin->description = $_POST['description']; $plugin->author = $_POST['author']; $plugin->code = base64_encode($_POST['code']); $plugin->active = 0; $plugin->php = $_POST['php']; $plugin->mysql = $_POST['mysql']; $plugin->Save(); $pending = true; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.phpobjectgenerator.com/plog/rss/"/> <link rel="stylesheet" href="http://www.phpobjectgenerator.com/phpobjectgenerator.css" type="text/css" /> <link rel="shortcut icon" href="favicon.ico" > <title>Php Object Generator Plugins</title> <meta name="description" content="Php Object Generator, (POG) is a PHP code generator which automatically generates tested Object Oriented code that you can use for your PHP4/PHP5 application. " /> <meta name="keywords" content="php, code, generator, classes, object-oriented, CRUD" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="ICBM" content="53.5411, -113.4914">