Posted by Good Man on 11/28/07 02:58
Mike <ampeloso@gmail.com> wrote in
news:9accba9e-42d8-450d-b893-c1776f7b3a83@s8g2000prg.googlegroups.com:
> Actually I did get it to work with this:(which of course is just
> Javascript)
> if (xmlHttp.readyState==4)
> {
> if (xmlHttp.responseText == "<p>Wrong Username or Password Dufus</
> p>")
> {
> document.getElementById("txtHint").innerHTML=xmlHttp.responseText
> }
> else window.location = "http://www.ampsoft.com/NCAA/Main_Mockup.php"
> }
> }
>
Just be sure you're using PHP sessions on
http://www.ampsoft.com/NCAA/Main_Mockup.php, otherwise all someone has to
do is look at your javascript code for instant admission to your restricted
area / pages.
[Back to original message]
|