Thanks for the script, and thank you dtkguy for that fix
Thanks for the script, and thank you dtkguy for that fix
Nice find and thank you for providing a fix for it.
If you figure out the header error when logging into the admin that would be awesomeSeems the header is being sent twice when logging in. Even though it doesnt effect it since its prior to the admin redirect.
Reverse IP Check ಠ_ಠ Proxy Sites
<?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>
the header error fix :
at around lines 74-86 in adminlogin.php you'll see this:
we don't need the header("Location: admincp.php"); the meta refresh is what we're looking for, but sending the headers skips that, thus the error. just comment out or delete that line. (i commented it out for sake of keeping original code).Code:else { $check = mysql_query("SELECT * FROM `admin` WHERE `username` = '$username' AND `password` = '$password'") or die('Error selection'); if(mysql_num_rows($check) == '1') { $_SESSION['username'] = "$username"; $_SESSION['password'] = "$password"; header("Location: admincp.php"); echo "<meta http-equiv=\"refresh\" content=\"2; admincp.php\" /><div class=\"generated\">You are logged in. Redirecting..</div>"; }
seems to be working fine for me.Code:/* header("Location: admincp.php"); */
Cheers!
abinowbhat (28 March, 2010), Will.Spencer (31 December, 2008)
I have to say you are a keeperThank you now I have a link to refer people to when they ask about this error
Reverse IP Check ಠ_ಠ Proxy Sites
<?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>
dtkguy if you want I have urlxp.com @ namecheap if you want it for you help on this
Reverse IP Check ಠ_ಠ Proxy Sites
<?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>
wow really. thats very kind of you! PM'ing you now.
thanks![]()
Globalproxy.org - http://global-proxy.org/
PrivacyNeeded - http://www.privacyneeded.org/
Preview Central - http://www.preview-central.com/
Get High Quality Links From The Webs Leading Web 2.0 Websites
Time Tested Link building method: Get links from all the new directories on a daily basis
Bookmarks