joeym4692 0 Report post Posted August 16, 2007 I have looked around and I can't find any code to help me out.I want to make it so you can log in to my site to get member featues.Could some one please help me Share this post Link to post Share on other sites
rayzoredge 2 Report post Posted August 16, 2007 I have looked around and I can't find any code to help me out.I want to make it so you can log in to my site to get member featues.Could some one please help me Look into learning PHP and CGI.You will need to use these languages to generate scripts for member validation, creating a database, and whatnot.Also, look into a web-hosting service or obtain a server that supports these functions.I'm also sure there are dummy-proof tools out there. Google them. :XD: Share this post Link to post Share on other sites
joeym4692 0 Report post Posted August 16, 2007 thank you very much...And I didn't know that sites have tools that you could do this with Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted August 16, 2007 HTML , by itself, is not capable of doing this.You will require PHP, ASP, or CGI scripting to perform this log-in feature and likely a database like MYSQL.Look in the Tutorial Section here on the Xisto or use the search feature to see what scripts other members have made available. Share this post Link to post Share on other sites
shadowx 0 Report post Posted August 17, 2007 Technically a HTACCESS solution would do if you only needed to protect a small area of the site and if it wasnt top secret stuff or anything, say if it was a site about you and your friends htaccess would be ideal as it would let them login but hopefully keep others out. Its a a lot simpler but not as good as php/cgi. Share this post Link to post Share on other sites
csp4.0 1 Report post Posted August 17, 2007 yes, if you want advanced login/out functions you'll need php cgi/perl etc. a simple htaccess is fine for the average user but for some reason you're really paranoid try using php/perl/cgi scripts. Share this post Link to post Share on other sites
joeym4692 0 Report post Posted August 17, 2007 HTACCESSWhat is that.. And what it dosn't keep all members out of the area..So if i made a staff only page some other people could possibly get it through this ACCESS thing.. Share this post Link to post Share on other sites
shadowx 0 Report post Posted August 17, 2007 the HTACCESS method involves a few components, firstly two files, one called .HTACCESS and one called .HTPASSWD and a specific folder you want protected. You chose the folder, say its called "protected" or something and put both of those files above inside it along with any files you want protected, EG all the pages you want protected.now the first file .HTACCESS will have code that will make a little box come on screen and ask a user to login whenever they try to get into the protected area. All the usernames and passwords are stored in the file called .HTPASSWD and if the user's input matches that in the HTPASSWD file they are allowed in. the drawbacks are that only you can register someone, they cant signup to the website you have to enter their username and password manually into the list and it isnt very customizable, all it can do is log someone in or keep them in. the danger is that if someone got hold of the HTPASSWD file they could then see all the usernames, but not the passwords as they are encrypted. Still that is a bad thing, although its not easy to obtain this file.The benefits of this system are that its very easy for someone with no PHP/CGI experience to set-up and maintain. Share this post Link to post Share on other sites
Mistikpso 0 Report post Posted August 28, 2007 you really can not use html as is for a login system, but if you pair say...html and php and mysql, you can have an easy to make script, without all of hte hassle. Share this post Link to post Share on other sites
mahirharoon 0 Report post Posted November 28, 2007 i have javascript code (over 100 line of code) which performs the actions correcty but i can figure out how to configure because i had ported it from asp.net Share this post Link to post Share on other sites
jersey 0 Report post Posted November 28, 2007 i have javascript code (over 100 line of code) which performs the actions correcty but i can figure out how to configure because i had ported it from asp.net Hello mahirharoon, What is your purpose of putting a login capability/features for your site? if you really want a login capability then you must use php,asp or other scripting language which can interact with databases, You can use javascript too but the username and password are pre encoded in the page source code and javascript will validate this and put a cokie for that session. My suggestion is use php with mysql if you want your site visitors to login when they access your site.thats all, sorry for my bad english. Share this post Link to post Share on other sites
mahirharoon 0 Report post Posted December 5, 2007 Hello mahirharoon, What is your purpose of putting a login capability/features for your site? if you really want a login capability then you must use php,asp or other scripting language which can interact with databases, You can use javascript too but the username and password are pre encoded in the page source code and javascript will validate this and put a cokie for that session. My suggestion is use php with mysql if you want your site visitors to login when they access your site.thats all, sorry for my bad english. now i figured how to add accountsit is interacting with asp.net but it is just proccesing later it will be redirecting to the member cp Share this post Link to post Share on other sites
mahirharoon 0 Report post Posted December 5, 2007 and if the admin feels it as a nuisance just goooogle for des pass pro , it has the password encrypted in des Share this post Link to post Share on other sites