i am trying to create a my first web site and have got the basics down from reading about html off of certain sites but need ease some of my ideas that we want to applied my page..
the website i want to create will probably be like this…
first page i want an image focused and underneath this i want a login box with user label drop down box and password field and submit press button..
how do you create the passwords
how do you make the put in button recognise that passwords are appropriate then launch another page of my personal site
how do you get my picture in the center miccled with the page then sign in info underneath that
here is the code we have so far…
< body bgcolor=" black" > < img src=" \C: \homepage\pics\image1. jpg" width=" 300" height=" 300" > < /a> < fieldset> < legend> < font color=" white" < big> < b> Login< /b> < /big> < variety action=" " > < choose name=" user" > < choice value=" name1" > name1< /option> < choice value=" name2" > name2< /option> < /select> < font color=" white" > < b> Password: < /b> < /font> < enter type=" password" name=" password" > < br> < enter type=" button" value=" Submit" > < /form> < p> < /body>
any help feedback would be much appreciated thanks
POUND
LB…
The password part needs to be a server-side script which has a programming
language for example PHP. Your webhost most probably allows PHP scripting.
It appears like you’re a beginner and may not even know exactly what PHP is…
You’ll have to make use of Google to find PHP tutorials.
But below is a answer to your own question anyhow (knowing PHP as well as not).
This specific line:
< variety action=" " >
Might need to be something like that:
< variety action=" login. php" method=" post" >
Then, you have a new PHP script identified as " login. php"
that checks that password and can what it’s likely to do.
That PHP script referred to as " login. php" then launches your up coming page(s).
Each one of those pages verify the password utilizing PHP sessions.
So, you need to undertake these steps:
1) Fix the < form> motion line
2) Create or discover a PHP script which checks the password.
3) Work with PHP scripting about any pages in which require the password.