I'm a total amateur when it comes to php I'm trying to integrate my phpbb login and loggout detail into the " Youtube Video Sites Generator In a Box" script. Just by looking at this can you see any errors? <?php error_reporting(0); define('IN_PHPBB', true); $phpbb_root_path = './'; include "videoconfig.php"; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); require_once "class.xml.php"; $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); include($phpbb_root_path . 'includes/page_header.'.$phpEx); function prepare_and_show($left,$right){ blah blah blah Code (markup):
Same error. Code: <!DOCTYPE HTML 5> <head> <title>Register</title> </head> <body> </body> </html> <?php if(isset($_SESSION['user_id'])) { $url = 'http://812402.com/812/index.php'; } else { if(isset($_POST['submitted'])) { if(isset($_POST['username'])) { } else { echo '<font color="red"><b>Please enter a username!</b></font color>'; } if(isset($_POST['password'])) { } else { echo '<font color="red"><b>Please enter a password!</b></font color>'; } if(isset($_POST['password2'])) { if($_POST['password'] == $_POST['password2']) { } else { echo '<font color="red"><b>The two passwords must match!</b></font color>'; } } else { echo '<font color="red"><b>Please enter a confirming password!</b></font color>'; } } else { echo '<h1>Register</h1>'; }; ?> <form action="register.php" method="post" action="register.php"> <p align="center"><input type="text" maxlength="45" name="username" value="username"></p> <p align="center"><input type="password" name="password" maxlength="50" value="password"></p> <p align="center"><input type="password" name="password2" maxlength="50" value="confirm password"></p> <p align="center"><input type="text" name="email" maxlength="50" value="email"></p> <input type="hidden" name="submitted" value="TRUE"> <p align="center"><input type="submit value="Join!"> </form> Code (markup):