This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Html code that makes everyone use a password to login your website?
04-03-2014, 02:10 PM
Post: #1
Html code that makes everyone use a password to login your website?
I'm in need of a html source code that is sort of like the one yahoo answers uses to let people Login your site. also need guidelines on how to make it that people can have their own individual profiles that they can edit much like this one on yahoo answers. I know I can't expect you to write it all. The basics would be much appreciated. thank you in advance.

Ads

Find all posts by this user
Quote this message in a reply
04-03-2014, 02:14 PM
Post: #2
 
You can't do it in HTML - you'd need a server-side scripting language like PHP, ASP, Perl, Rails, etc.

Ads

Find all posts by this user
Quote this message in a reply
04-03-2014, 02:16 PM
Post: #3
 
HTML has provision for input forms, but not for processing passwords in secret. Anyone can see the full text of an HTML page and work out what is done with the inputs. If you want to use passwords to log in to a site you need to learn PHP/SQL and store passwords on a confidential database.
Find all posts by this user
Quote this message in a reply
04-03-2014, 02:29 PM
Post: #4
 
Unfortunately, you can't do this through HTML.

You can create a basic login system using Javascript (however they're not secure and shouldn't be used for a website open to the public). An example of this is here: http://www.javascriptkit.com/script/scri...ass2.shtml

You need to learn a language like PHP or ASP. Personally I recommend PHP, it's more widely used (Google, Facebook, Yahoo, Wikipedia and Wordpress all use PHP), compared to ASP, which seems to mainly be used by Microsoft owned companies (which makes sense, since Microsoft created ASP). The main important factor in this case is cost. PHP is free and open-source, whereas ASP is not. If you were certain you could make significant money with your website, you could go with ASP, but the benefits are not worth it in my opinion.

Javascript is also very useful for websites like the one you suggest.

Lastly, you'll need to know a database query language like MySQL or MSSQL. MySQL is the free, open-source one, and MSSQL is the commercial one that you have to pay for made by Microsoft.
MySQL is more widely used, just like PHP. This means that for both MySQL and PHP, there will be more support and examples online that you can learn from and get help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)