Results 1 to 7 of 7

Thread: Which is the best..?

  1. #1
    Join Date
    Mar 2008
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Which is the best..?

    Well, I want to protect an area on my site via Username and Password.

    I have been using this: http://www.dynamicdrive.com/dynamicindex9/password.htm

    But it doesn't work. :l

    Is there an alternative?

    I tried using .htaccess but I don't understand ANY OF IT!

    Please can you guys help me.

    Give me a code, and where to edit, create folders, etc.

    Thanks in advance!

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    do you have PHP available?

    If so, try reading through this tutorial.

    http://www.free2code.net/tutorials/v...t-5/page1.html

  3. The Following 2 Users Say Thank You to Medyman For This Useful Post:

    Jacky1 (03-02-2008),scottjcampbell (03-12-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Medyman View Post
    do you have PHP available?

    If so, try reading through this tutorial.

    http://www.free2code.net/tutorials/v...t-5/page1.html
    I haven't got a clue about it.

    I use Dreamweaver, when I start it up, do I click 'PHP'? :S

    Also, if you are free, can you try and do it, then tell me where I need to alter things.
    I'd really appreciate it.

    Also, can you read this thread: http://www.dynamicdrive.com/forums/s...ad.php?t=30030

  5. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    The question is does your web host have PHP available? You can easily create PHP with any text editor, but your server needs to be able to read the script.

    As far as writing it for you...umm, did you look at the page? All the work is done. Just spend some time reading through the material. Perhaps you'll learn something.

    In regards to your other post, I can only point you to the instructions which you probably have read. http://www.dynamicdrive.com/dynamicindex9/password.htm

    I'm not a JS expert though I think your problem is more implementation than coding. Perhaps reread the instructions and make sure you're following them correctly.

    As a general recommendation, don't use javascript as password protection. Anyone can easily disable javascript and gain easy access to your protected pages.

  6. The Following User Says Thank You to Medyman For This Useful Post:

    Jacky1 (03-02-2008)

  7. #5
    Join Date
    Mar 2008
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I did follow the rules, but I'm a newbie to coding etc. I put the password in the correct places, but after searching through the forums, this has been a common issue.

    A web host is?

    Just gathering information and learn something new. xD

  8. #6
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    What are you using this script for? For a website?? Do you intend to put it on the Web or is just for local viewing (on your home computer)?

  9. #7
    Join Date
    Mar 2008
    Posts
    9
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Just a testing scheme.

    I have never done it before, but don't have any plans to upload anything as of yet.

    All I want to do is to create a secured page, with only 1 password, which will be accessed by me.


    I will need it because, I've almost created some sort of 'Online Contact' system, so I guess I can check the messages via this section. I don't know how do to that yet, but once I've sorted the secured page with a password feature, I will then do it. If you know how to do the 'Online Contact' feature, do tell me.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •