Jump to content

Cannot Redeclare


MediaMonkey

Recommended Posts

Hello... I was wondering if anybody could help me find a solution to my rather annoying problem!!

I used to run these scripts on another server without any hiccups... However, on the new server, I keep getting "Cannot Redeclare"; I have tried include_once though that didn't work either?

I've included the scripts here for you - it is a login system:

[b]THE LOG-IN PAGE: (INDEX.PHP):[/b]

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<form action="process_login.php" method="post" name="login" id="login">
<table width="56%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr class="logtext">
<td width="42%"><span class="style35"> USERNAME</span></td>
<td width="58%">
<input name="username" type="text" id="username2" size="15">
</td>
</tr>
<tr class="logtext">
<td><span class="style35">PASSWORD</span></td>
<td>
<input name="password" type="password" id="password" size="15">
</td>
</tr>
<tr class="logtext">
<td>  </td>
<td><input type="image" name="submit" src="images/enter.jpg" width="115" height="20"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr class="text">
<td width="100%" align="left" valign="top" class="style42 style41 style39 text"><div align="center"><strong><? echo $thanks_output; ?>
<?php
if (isset($error_output))
{
echo '<p class="logtext" text-align: center;">' . $error_output . '</p>';
}
?>
</strong></div></td>
</tr>
</table>
</form>[/quote]

For some unbeknown reason - this forum will not let me post; so here come multiple messages:

OK... It's really not going to let me post the code in here - therefore I really don't know how to show you the problem?

MM :(
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.