The_Cyberdemon
03-30-2003, 11:18 AM
Well, i'm trying to make a quick registration hack (yeah, i know, it's probably been already made), and i see get an error when i put this in my phpinclude:
if ($bbuserinfo[usergroupid]==1) {
$quickreg = "<form action="vb/register.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<!-- *** -->
<tr>
<td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF" class="thtcolor"><b>Register</b></smallfont></td>
</tr>
<!-- *** -->
<tr>
<td bgcolor="#1C5780"><normalfont><b>User Name:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="username" size="5" maxlength="$maxuserlength"></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>Password:</b></normalfont></td>
<td bgcolor="#13486D"><normalfont><input type="password" class="bginput" name="password" size="5" maxlength="15"></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>Enter Password Again:</b></normalfont></td>
<td bgcolor="#13486D"><input type="password" class="bginput" name="passwordconfirm" size="5" maxlength="15"></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>Email:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="email" size="5" maxlength="50"></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>Enter Email Again:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="emailconfirm" size="5" maxlength="50"></normalfont></td></tr><tr><td align="center"><input type="hidden" name="url" value="http://www.blindedstorms.com">
<input type="hidden" name="action" value="addmember">
<input type="submit" class="bginput" name="Submit" value="Submit">
<input type="reset" class="bginput" name="Reset" value="Reset"></td>
</tr></table></table></form>";
} else {
$quickreg = "";
}
after i do that, i get this error at the top of the screen, and some others.
Parse error: parse error, unexpected T_STRING in /home/cyber/public_html/vb/global.php(313) : eval()'d code on line 79
Any idea what to do?
Thanks in advance!
-Cyber
if ($bbuserinfo[usergroupid]==1) {
$quickreg = "<form action="vb/register.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<!-- *** -->
<tr>
<td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF" class="thtcolor"><b>Register</b></smallfont></td>
</tr>
<!-- *** -->
<tr>
<td bgcolor="#1C5780"><normalfont><b>User Name:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="username" size="5" maxlength="$maxuserlength"></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>Password:</b></normalfont></td>
<td bgcolor="#13486D"><normalfont><input type="password" class="bginput" name="password" size="5" maxlength="15"></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont><b>Enter Password Again:</b></normalfont></td>
<td bgcolor="#13486D"><input type="password" class="bginput" name="passwordconfirm" size="5" maxlength="15"></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>Email:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="email" size="5" maxlength="50"></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780"><normalfont><b>Enter Email Again:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="emailconfirm" size="5" maxlength="50"></normalfont></td></tr><tr><td align="center"><input type="hidden" name="url" value="http://www.blindedstorms.com">
<input type="hidden" name="action" value="addmember">
<input type="submit" class="bginput" name="Submit" value="Submit">
<input type="reset" class="bginput" name="Reset" value="Reset"></td>
</tr></table></table></form>";
} else {
$quickreg = "";
}
after i do that, i get this error at the top of the screen, and some others.
Parse error: parse error, unexpected T_STRING in /home/cyber/public_html/vb/global.php(313) : eval()'d code on line 79
Any idea what to do?
Thanks in advance!
-Cyber