+ Reply to Thread
Results 1 to 3 of 3

Thread: passwords and members sections

  1. #1
    NeonWarrior's Avatar
    NeonWarrior is offline x10 Sophmore NeonWarrior is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    137

    passwords and members sections

    anyone got any ideas? does x10 let us change apache files or somthing i dunno how members areas work, but i want to password rptoect a directory so that any page access will ask for password and username but if moving from page to page it wont ask again and again untill you exit the directory

    is this possible?

  2. #2
    btfog is offline x10 Sophmore btfog is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    118

    Re: passwords and members sections

    Give me Rep, and I'll give you a cookie...

    http://farm6.static.flickr.com/5176/...7698c919d8.jpg

  3. #3
    rickle42 is offline x10Hosting Member rickle42 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    59

    Re: passwords and members sections

    You could just do it from scratch using html.
    <form action="validate.php" method="post">
    <input type="textfield" size="10" maxlength="20"/>
    <input type="password" size="10" maxlength="20"/>
    <input type="submit"/>
    Any php you call from the validate.php will be protected if you use x10's hotlink protection and protect php extensions. In other words they cant type the url.php in address bar, it will just give a 404 error. So the validate.php needs to check the database for a username/password that was entered and if it exists move forward , else ask for password and username again.
    This form is only a rough sketch from memory, to give a general idea....
    If you have never made a database call you may not want to go this route.
    I am sure there is a tool for this nowadays...

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers