View Full Version : HTML Question PLEASE HELP
EJAckass
07-18-2005, 05:25 PM
I've been looking for a tutorial everywhere and can't seem to find one. I know I sound stupid to some of you but say I have a website and for a section of the website I want to be password protected i want it to look like this http://img317.imageshack.us/my.php?image=password5vb.jpg when they click the link then when they enter the password right they procede on the with site does anybody out there know what I can do please!!!
KiruKlan
07-18-2005, 06:46 PM
I've been looking for a tutorial everywhere and can't seem to find one. I know I sound stupid to some of you but say I have a website and for a section of the website I want to be password protected i want it to look like this http://img317.imageshack.us/my.php?image=password5vb.jpg when they click the link then when they enter the password right they procede on the with site does anybody out there know what I can do please!!!
Not in HTML. Search the internet for a javascript or php script. Or just Google "Password script". that will pull out some results. Javascript it easy to beat though; all you need to do is look at the script. You'll need to do it in a stronger language.
russian
07-19-2005, 04:14 AM
yea its defenatly not html like KiruKlan said. but its also not java. there are java scripts that can give you something like that, but they are almost useless, because they are extreamly easy to break...
EJAckass
07-19-2005, 02:20 PM
well i want exactally that i dont care how hard it is to break im just lookin to be able to make a site with shit on it that only certain people can see with the password and the people accessing the site will not know anything about computers enough to crack the password so does anybody know where i can get something like that? i appreciate the help
Caricature
07-19-2005, 02:22 PM
well i want exactally that i dont care how hard it is to break im just lookin to be able to make a site with shit on it that only certain people can see with the password and the people accessing the site will not know anything about computers enough to crack the password so does anybody know where i can get something like that? i appreciate the help
dynamicdrive.com look around
EJAckass
07-20-2005, 01:28 PM
alright i did the code found here (http://www.dynamicdrive.com/dynamicindex9/password.htm) and i got it too work and everything but now on to my next question, is there anyway that i can make 1 user name and password take me to 1 site and a different user name and password take me to a different site for example:
Username:Truck Password:Bus takes me to www.google.com
& Username:Car Password:Taxi takes me to www.msn.com
is this possible to do in the same script? if so please let me know i know this isnt the HTML forum lol but this is the only place i could think of to ask for help so id really appreciate it if somebody could let me know
Liquid_NRG
07-20-2005, 02:45 PM
I think the code answers it for you:
{
window.location=password+".htm"}
else{
alert("password/username combination wrong")}
Check the bold parts. Redirect to whatever you like.
KiruKlan
07-20-2005, 02:58 PM
alright i did the code found here (http://www.dynamicdrive.com/dynamicindex9/password.htm) and i got it too work and everything but now on to my next question, is there anyway that i can make 1 user name and password take me to 1 site and a different user name and password take me to a different site for example:
Username:Truck Password:Bus takes me to www.google.com
& Username:Car Password:Taxi takes me to www.msn.com
is this possible to do in the same script? if so please let me know i know this isnt the HTML forum lol but this is the only place i could think of to ask for help so id really appreciate it if somebody could let me know
If you want something that extensive, you may want to look into PHP. This sounds more like a PHP/SQL matter. PHP/SQL will allow people to create accounts, and then use those accounts to access different pages.
EJAckass
07-20-2005, 03:04 PM
I think the code answers it for you:
{
window.location=password+".htm"}
else{
alert("password/username combination wrong")}
Check the bold parts. Redirect to whatever you like.
yah i understand that part but how do i make it so one username & password takes me to one site and another username and password takes me to another is it possible in this script?
Liquid_NRG
07-20-2005, 03:15 PM
Maybe by adding different scripts? I dunno. I'm not very good with web design. :p
KiruKlan
07-20-2005, 03:24 PM
yah i understand that part but how do i make it so one username & password takes me to one site and another username and password takes me to another is it possible in this script?
No, that would require two different scripts which you don't want. You want one script with two choices. Your best bet is PHP. Sorry, but that's all I can imagine would work for that purpose.
EJAckass
07-20-2005, 04:02 PM
alright thanks for your time i'd rep you if i could lol
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.