Zubrag.com
May 20, 2012, 11:31:01 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Zubrag.com :: Forum
>
zubrag.com
>
Questions About Our Scripts
>
Password Protect
>
setup Web Page Password Protect
Pages: [
1
]
Print
Author
Topic: setup Web Page Password Protect (Read 3375 times)
vajra
Newbie
Posts: 1
setup Web Page Password Protect
«
on:
November 17, 2006, 11:20:56 am »
Hi I set this up it looks like it's working but it will not accept any passwords? with no changes to the script I assume the default is.
zubrag
admin
Can anyone help
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: setup Web Page Password Protect
«
Reply #1 on:
November 17, 2006, 03:01:40 pm »
Find SETTINGS START section in the script (like shown below).
Below 2 users are setup (one user per line):
1) login: zubrag password: root
2) login:admin password: adminpass
You can edit these lines, or add more lines. Just make sure each line except the last line has comma at the end.
##################################################################
# SETTINGS START
##################################################################
// Add login/password pairs below, like described above
// NOTE: all rows except last must have comma "," at the end of line
$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'admin' => 'adminpass'
);
// request login? true - show login and password boxes, false - password box only
define('USE_USERNAME', true);
##################################################################
# SETTINGS END
##################################################################
Logged
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
zubrag.com
-----------------------------
=> News
=> Questions About Our Scripts
===> Password Protect
===> Password Protect Advanced
===> cPanel Scripts
===> Thumbnail Generator
===> Website Thumbnail Generator
===> Smart File Download
===> Anti Spam Image Generator
===> Watermark
=> Wish List / Suggestions
=> Bugs / Known Issues
-----------------------------
Webmasters Lounge
-----------------------------
=> Tips and Tricks
=> Webmasters: General Discussion
-----------------------------
Programmers Lounge
-----------------------------
=> PHP / MySql / Smarty Questions
=> Tips and Tricks
=> Programmers: General Discussion
-----------------------------
General Category
-----------------------------
=> General Discussion
Loading...