Usernames & Passwords

He has: 4 posts

Joined: Feb 2007

I have got to a stage with my web site where visitors need to add a username and password so they can then post info and later be able to log back in and update their info if required. I have done the easy part ie have the forms set up where the username & password can be entered and have a "Next" button ready. I am currently using "freehostie.com" (is this a good one to use?) as my free server. My question is what happens after the "Next" button is clicked on? I know I need to get it to my server some how, but how/where does the username & password go? Does it go into a seperate folder named "?" ? How does the visitor then get back the form? Can a button have more than one function when clicked on? Do I need java script or similar? I can't seem to find this info on the web anywhere although I'm sure it's out there somewhere. If my quetsions can't be answered here can someone point me in the right direction. Thanks for any help.Confused

Busy's picture

He has: 6,151 posts

Joined: May 2001

What you need is a database.

The database stores the details and retrieves them when called for.

Check with your host if they allow asp/sql or php/mysql or other to find out in what server side language you'll need to be using

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

DumbOne;214863 wrote: I am currently using "freehostie.com" (is this a good one to use?)

Just to clarify before I post what originally came to mind, did you accidently post the domain name for YOUR site instead of your hosting company?

Freehostie.com had NO links that worked, and had the old "Lorem ipsum dolor sit consectetuer adipiscing elit, sed diam nonummy ..." in many places

Between that and the info found in looking up info about the domain name leads me to think that you had accidently posted your domain name for a site you are building instead of your hosting company.

Once we figure out what langages are available for you, can point you in the direction of tutorials on user authentication.

-Greg

He has: 4 posts

Joined: Feb 2007

Greg, Sorry, my spelling mistake, it should have had "a" on the end not "e". So "freehostia.com" is my hosting company.

Busy, They do support Php & Mysql. Thanks.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Glad to hear it was a typo.

Here is a tutorial that might help:

http://www.ny-dev.com/forums/f184/php-custom-user-authentication-1218/

I did have a folder of bookmarks that I used when creating my own (i pulled what i liked from different ones), but in looking for you, I se that was lost when I reformatted a while back.

-Greg

GeekMaster1's picture

He has: 3 posts

Joined: Jul 2007

Greg K;214919 wrote: Glad to hear it was a typo.

Here is a tutorial that might help:

http://www.ny-dev.com/forums/f184/php-custom-user-authentication-1218/

I did have a folder of bookmarks that I used when creating my own (i pulled what i liked from different ones), but in looking for you, I se that was lost when I reformatted a while back.

-Greg

Hey thanks for linking to my site.
I never get used to that.
How did you find us BTW?

They have: 20 posts

Joined: Dec 2006

DumbOne;214863 wrote: I know I need to get it to my server some how, but how/where does the username & password go?

I guess it prebuild facility from the server.
There should be an option to get the info.
I suggest to ask this to the support/webmaster.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.