scotty2006 Posted May 4, 2006 Share Posted May 4, 2006 ok im doin a text based website and i want to know on what u have to do to get users to login i want users to sign up and then put in a password so them only can gain access to it. then when they sign in the home page opens how do i do that Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 You would need to use a server side language like asp/php and a database like mysql, see the tuts** A mod may wish to split this topic ** Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 so how would i get around that and if i made a site in html would it afect it in any way Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 You need a database beacuse you want users to sign up/log in, the database would hold this information.You need a server side language to comunicate with the database.you wont be able to do what you want with plain html Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 so wat would be the first step to take when doing thiswould i need to find a server or buy any programming tools or software Link to comment Share on other sites More sharing options...
Little Goat Posted May 4, 2006 Share Posted May 4, 2006 actually, couldn't you do this with an .htaccess and .htpasswd (or however you spell it. Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 so wat would be the first step to take when doing thiswould i need to find a server or buy any programming tools or software<{POST_SNAPBACK}> if you chose the php/mysql route you could download these onto your pc and practise, it's all open source so it wouldn't cost you a penny.Then when your ready upload them to a live site.@lg not sure, never had involvement with them Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 ok so i want to take the php route were do i down loadit from and would i need to buy a domain to use to host the site after Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 Instructions: http://www.w3schools.com/php/php_install.aspDomains: http://w3schools.invisionzone.com/index.php?showtopic=3770 Link to comment Share on other sites More sharing options...
Little Goat Posted May 4, 2006 Share Posted May 4, 2006 the htpasswd wouldnt be too hard, I foun a good generator: http://www.tools.dynamicdrive.com/password/LG Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 ok thanks boys but what do i need to download off the php site scott theres a couple of things i wouldnt know what to download Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 hold on a sec what u have to do to get users to login sign up and then put in a passwordMust each user have their own unique login and password or will a generic one do? Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 no i want them to choose there password Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 Maybe this will be good for you: http://www.apachefriends.org/en/xampp-windows.htmlI havent used it myself but its a single installer Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 ok ill try it now Link to comment Share on other sites More sharing options...
scotty2006 Posted May 4, 2006 Author Share Posted May 4, 2006 ok scott i downloaded it im goin to have a fidle with it and look at it i will be on later if i need anymore help thanks for your help so far scott Link to comment Share on other sites More sharing options...
scott100 Posted May 4, 2006 Share Posted May 4, 2006 No probs, these pages may also be of use.php tutorial: http://www.w3schools.com/php/default.aspphp forms: http://www.w3schools.com/php/php_forms.aspphp mysql connect: http://www.w3schools.com/php/php_mysql_connect.asp Link to comment Share on other sites More sharing options...
Nakor Posted May 4, 2006 Share Posted May 4, 2006 Maybe this will be good for you: http://www.apachefriends.org/en/xampp-windows.htmlI havent used it myself but its a single installer smile.gifI installed that yesterday actually and played around with it today. I have to say, it's pretty fantastic. Everything comes preconfigured, and it has a very nice control panel. It comes with just about everything you could imagine as well, just about anything you could ever want in order to set up a server on your computer. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 5, 2006 Share Posted May 5, 2006 What kind of extensions does it come with? Do you find yourself wanting anything included in the manual PHP zip install that is not included in XAMPP?Also, scotty - if you're learning PHP and are serious about learning it, I recommend you pick up Programming PHP (I should be getting a cut from sales..) Link to comment Share on other sites More sharing options...
Nakor Posted May 5, 2006 Share Posted May 5, 2006 They said there were quite a lot of extensions. I plan to thoroughly explore it later tonight, so I will let you know. The downloadabe extensions on the site were for Perl and Tomcat, of which I was interested in both. They came as installers, and were also instantly configured. As I said, I didn't get a really in depth look at it, but from what I saw there wasn't much I saw room to improve on. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now