MediaMonkey Posted March 16, 2006 Share Posted March 16, 2006 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 :( Quote Link to comment https://forums.phpfreaks.com/topic/5094-cannot-redeclare/ Share on other sites More sharing options...
mark s Posted March 16, 2006 Share Posted March 16, 2006 Check my topic.1. I also had a poblem with redeclare2. Resolved the problem posting code[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=88217\" target=\"_blank\"]Click me[/a]Hope it helps :) Quote Link to comment https://forums.phpfreaks.com/topic/5094-cannot-redeclare/#findComment-18051 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.