PDA

Click to See Complete Forum and Search --> : log in/ log out


krysti
12-17-2004, 03:10 AM
Im opening a site that will contain members only content but the problem is i dont know how to put a user name/ password display on my page. hopefully you understand what im talking about lol im new to this and dont know techincal terms. someone told me i had to do a php file but im not quite sure and would appreciate it if someone could help me out with this:

basically like i said i want it to be where people can log in to a members only area so they can access information that you cant see on the site without logging in. there will only be 1 username and password (cause its a group thing).

i run my domain off imbriweb. It is mine, its not a free account.

YellowDart
12-17-2004, 03:20 AM
Not really sure how to do it on the php end. Although, if you're just looking for something simple, then you might be able to find a javascript login @ www.dynamicdrive.com

Sorry, I can't help ya further. I'm not really very good w/ server side coding...

-=[Go ahead... Give the dog a Yell0wDart]=-
http://members.cox.net/~jroffutt/files/orange_sig.jpg

krysti
12-17-2004, 03:24 AM
thankyou lol so this will do what im asking though only in java?

YellowDart
12-17-2004, 03:30 AM
For the most part... it really depends on what script you choose. It may not be fully integrated into your site... but it may do the job for you until you can get something set up w/ psp/sql/cgi/asp.net. There are a lot of different ways to do what you're asking, it just depends on the route you take.

-=[Go ahead... Give the dog a Yell0wDart]=-
http://members.cox.net/~jroffutt/files/orange_sig.jpg

krysti
12-17-2004, 03:49 AM
well i couldnt find it on the site you gave me lol i dont know what to type in the search field either!

lkw
12-17-2004, 04:30 AM
Create a form for the username and password field. Once they submit it, it will do a php test, and there you can create an easy
if/else test to check if username and password is the same .. if so go to the new secure page if not output the error message. There are many limitations for this. If you have multiple users is best to have a database and then connect to it and do a if/else test with the database.

use google 'php form login' you should be able to find many examples or try php.net

coconut
12-17-2004, 07:23 PM
if you want a script you might look at bignosebird.com


What do I look like a smoken monkey?

Allen Harkleroad
12-17-2004, 09:25 PM
It really depends on how you want to protec tthe content, do you only want to protect web pages or do you want to force a login for the entire folder/site? A lot depends on what you want to do and what type of server you are on and what your provider wlll allow for, we use asp scripts to protect some page content but we have sites that are completely protected and require a ISAPI filter to be installed on that site and also a database in which to store and manage users.



Allen Harkleroad
'I didn't do it... You didn't see me... You can't prove a thing...'