Jump to content
xisto Community
beastjo

Log In Script! Please can someone make me a log in script

Recommended Posts

you can make one using .htaccess

or here is one is use on my site

<form action="http://yourdomain.tld; method="post"><p>ENTER USER NAME :<input type="text" name="text2"></p><p>ENTER PASSWORD :<input type="password" name="text1"><input type="button" value="Check In" name="Submit" onclick=java script:validate(text2.value,"username",text1.value,"password") ></p></form><script language = "javascript">function validate(text1,text2,text3,text4){if (text1==text2 && text3==text4)load('succesfull.html');else{load('fail.html');}}function load(url){location.href=url;}</script>

Edit "username" to the username you want
Edit "password" to the password you want

Edit "Succesfull.html" to the page you want the script to take you if the password is true
Edit "Fail.html" to the page the script will take you if the password is false

hope this helps
Edited by mxweb (see edit history)

Share this post


Link to post
Share on other sites

perhaps if you can be more descriptive of your request i may be able to help you , i mean i have a feeling you dont want a simple login in html and javascript , you may need a more dynamic one , so if you tell me in which language (php, asp or asp.net) you want the script written i can definitely help you , <_< , but make sure those languages are supported by your server and you should have either MSSQL or MYSQL installed in your server too , :P

Share this post


Link to post
Share on other sites

well bassicly what i want is a you know for example here you sign up i want something like that where you can log in and then accses other pages but i want more than just 3 people to be able to log in.I would prefer html <_<because i don't know how to put php on microsoft frontpage.

Edited by beastjo (see edit history)

Share this post


Link to post
Share on other sites

Microsoft Frontpage can't handle the building of full dynamic Web scripting that you want to implement. It doesn't support any dynamic languages (to the best of my knowledge) like PHP or the framework of ASP.Net. You could design the pages in Frontpage, and then rig them up with PHP code afterwards.

Share this post


Link to post
Share on other sites

hum...

maybe look in the cough * tutorials section * cough...

http://forums.xisto.com/topic/7247-complete-login-system-with-php-mysql/

lol anyways look before u speak lol...

Notice from KuBi:
Please be more kind to our members, as they are just human like you and me, and make mistakes. Verbal Warning. Thread closed, issue solved.

Share this post


Link to post
Share on other sites

Using the search feature here at the Xisto Forums should show several scripts of various degrees of complexity. Depending on your needs, you should be able to find what you want in either the Tutorial section or maybe the PHP section of Programming.Failing that, try Google.Html is not a 'dynamic' tool. You will need to use a scripting language like php and / or a database (myssl) in order to implement a full Log-in side to your site.Good Luck with it. Post any problems and someone should be able to assist you.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.