View Full Version : Which is the best..?
Jacky1
03-02-2008, 05:37 PM
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! :mad:
Please can you guys help me.
Give me a code, and where to edit, create folders, etc.
Thanks in advance!
Medyman
03-02-2008, 05:58 PM
do you have PHP available?
If so, try reading through this tutorial.
http://www.free2code.net/tutorials/view/creating_a_php_login_script-5/page1.html
Jacky1
03-02-2008, 06:09 PM
do you have PHP available?
If so, try reading through this tutorial.
http://www.free2code.net/tutorials/view/creating_a_php_login_script-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/showthread.php?t=30030
Medyman
03-02-2008, 06:17 PM
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.
Jacky1
03-02-2008, 06:22 PM
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
Medyman
03-02-2008, 06:26 PM
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)?
Jacky1
03-02-2008, 06:30 PM
Just a testing scheme. :p
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.