Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

60 users online



making operational forms

making operational forms

Currently viewing this thread: 1 (0 members and 1 guests)


ImposteR

ImposteR

Status: Offline!

making operational forms

does anyone have a tut on making forms? like a login, search kind of form.. i search tf but couldnt find a good one

___________________

- boxx

Tsukmar

Tsukmar

Student
Status: Offline!

login forms, search forms - they require some backend language to actually do the operation. You can't just tell it to do login. you'll need php and mysql probably. You can still do like a google "search the site" thing and only display results from your webpage.

But, without a backend language (php, cgi, asp) and a database (mysql, postgres, sqlite) - you won't get very far.

However, with simpler stuff like a login with no dynamic languages, you can do a simple form like that.

Code:


<script>
function login(pass) {
if (pass =="password"){
location.href = "admin.html";
}
else {
alert("The password is incorrect..");
}
}
</script>
<form name="pass">
<input type="password" name="pass" size="20">
<input type="button" value="click here to continue" onclick="login(pass.pass.value)">
</form>

(wrote that here, so may not work) - sometihng like that? (VERY insecure btw)

___________________

how do you weigh human life?

ImposteR

ImposteR

Status: Offline!

thanks

___________________

- boxx

Tsukmar

Tsukmar

Student
Status: Offline!

np

if you have php or mysql - im sure we could help you write a little php script that logs you in Smile

___________________

how do you weigh human life?

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0072 seconds.