www.greensfear.com
The problem files are:
freelancers.php
webmasters.php
index.php (an admin page)
Here is the code for the admin index.php page that I think is causing the problem:
<?
if (!$pass) {
echo '<center>
<form action="index.php" method="post">
Password: <input type="password" name="pass"> <input type="submit" value="Login">
</form>
<br><br>
</center>';
} else if ($pass !== $adminpass) {
echo '<center>Password Incorrect!<br><br>
<form action="index.php" method="post">
Password: <input type="password" name="pass"> <input type="submit" value="Login">
</form>
</center>';
} else if ($adminpass == "") {
echo '<center>
<a href="index.php">index.php</a> will not run until the required variables are setup in <a href="admin_setup.php">admin_setup.php</a><br>
<a href="admin_setup.php">Click here</a> to setup the required variables now.
</center>';
The code for the other 2 files is over 2000 lines long, so I will not post them here unless someone wants me to specifically. I am not sure which part is causing the problem.
If someone could give me an idea of what to look for, or solve the problem with the index file, maybe I could find the part and post it.
Any help is greatly appreciated!
This post has been edited by jamiet757: 10 December 2008 - 07:06 AM

New Topic/Question
Reply




MultiQuote








|