// Note: we do not heed to try other interfaces since we don't support IE 6 or // lower. If we need to support other interfaces later, we can add them. // --CT function get_http_request_object(){ if (typeof XMLHttpRequest == undefined){ return false; } else { return new XMLHttpRequest(); } } function submit_form() { var http = get_http_request_object(); var username = document.login.login.value; var password = document.login.password.value; http.open("get", 'login.pl?action=authenticate&company=' + document.login.company.value, false, username, password); http.send(""); if (http.status != 200){ alert("Access Denied: Bad username/Password"); return false; } document.location = document.login.action + "?action=login&company="+ documnet.login.company.value; } function check_auth() { var http = get_http_request_object(); var username = "admin"; var password = document.login.password.value; http.open("get", "login.pl?action=authenticate&company=" + document.login.company.value, false, username, password ); } '>Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/e4/37/E1mK9sa-0008A6-32@usper.debian.org/debian
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/e4/37/E1mK9sa-0008A6-32@usper.debian.org/debian
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/e4/37/E1mK9sa-0008A6-32@usper.debian.org/debian')
-rw-r--r--tags/e4/37/E1mK9sa-0008A6-32@usper.debian.org/debian0
1 files changed, 0 insertions, 0 deletions