Posted by: sitebuilder Sep 18 2014, 05:04 PM
ok, so basicly I'm making something thatll add a page to my page
so like
www.site.com/USERnamePASSpass
I'm going to advance on it later, but basicly the login button redirects you to site.com/USERusernameinputtedPASSpasswordhere..
but I want to make account creation, how would I achieve this?
is there an easy system for this or..?
(just started learnin, makin my own site )
Posted by: Christian J Sep 18 2014, 05:45 PM
QUOTE(sitebuilder @ Sep 19 2014, 12:04 AM)
so like
www.site.com/USERnamePASSpass
I'm going to advance on it later, but basicly the login button redirects you to site.com/USERusernameinputtedPASSpasswordhere..
Not sure I understood that. Do you want the password to be visible in the URL?
QUOTE
but I want to make account creation, how would I achieve this?
That sounds like server side scripting (e.g. PHP) and maybe also a database (e.g. MySQL) for storing the account details.
QUOTE
is there an easy system for this or..?
For simple but reasonably effective password proterction, see: http://htmlhelp.com/faq/html/publish.html#password
Posted by: sitebuilder Sep 18 2014, 05:48 PM
QUOTE(Christian J @ Sep 18 2014, 05:45 PM)
QUOTE(sitebuilder @ Sep 19 2014, 12:04 AM)
so like
www.site.com/USERnamePASSpass
I'm going to advance on it later, but basicly the login button redirects you to site.com/USERusernameinputtedPASSpasswordhere..
Not sure I understood that. Do you want the password to be visible in the URL?
QUOTE
but I want to make account creation, how would I achieve this?
That sounds like server side scripting (e.g. PHP) and maybe also a database (e.g. MySQL) for storing the account details.
QUOTE
is there an easy system for this or..?
For simple but reasonably effective password proterction, see: http://htmlhelp.com/faq/html/publish.html#password
the code that logs you in:
<script type="text/javascript">
function CheckPassword() {
var username=document.login.username.value;
var password=document.login.password.value;
location.href = "USER12"+username + "PASS12"+ password+".html";
}
</script>
<form method="post" action="ingen_javascript.htm"
onsubmit="CheckPassword();return false;" name="login">
<pre>
Username: <input type="text" name="username">
Password: <input type="password" name="password">
</pre>
<input type="submit" value="log in"
onclick="CheckPassword();return false;">
</form>
</body>
</html>
I'm not sure how to make an account creation thing though, how would I achieve that?
Posted by: Christian J Sep 18 2014, 05:57 PM
You can't create accounts with javascript, you need a server side script for that.
What do you need the accounts for? Maybe there's a readymade script for that which already contains an account creation feature.
Posted by: sitebuilder Sep 18 2014, 06:00 PM
QUOTE(Christian J @ Sep 18 2014, 05:57 PM)
You can't create accounts with javascript, you need a server side script for that.
What do you need the accounts for? Maybe there's a readymade script for that which already contains an account creation feature.
well, in the long run, I plan to make a game creation site
like, you sign up, you log in, you make games
anyways, I've been looking up stuff on google, but I cant seem to find any script for it
I guess I'll keep looking
Posted by: sitebuilder Sep 18 2014, 06:24 PM
QUOTE(sitebuilder @ Sep 18 2014, 06:00 PM)
QUOTE(Christian J @ Sep 18 2014, 05:57 PM)
You can't create accounts with javascript, you need a server side script for that.
What do you need the accounts for? Maybe there's a readymade script for that which already contains an account creation feature.
well, in the long run, I plan to make a game creation site
like, you sign up, you log in, you make games
anyways, I've been looking up stuff on google, but I cant seem to find any script for it
I guess I'll keep looking
Well, I'm completely lost...................
Posted by: pandy Sep 19 2014, 04:00 AM
Well, as Christian said you need server side scripting. You may find something already written at for example http://hotscripts.com .
You need a sever side solution for the login also if you want any kind of security. If you find a ready script that part will be included.