Zubrag.com
May 21, 2012, 01:21:14 am
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
>
Access protected page without login form
Pages: [
1
]
Print
Author
Topic: Access protected page without login form (Read 3158 times)
zubrag
Administrator
Hero Member
Posts: 753
Access protected page without login form
«
on:
January 03, 2007, 05:55:39 pm »
From the comment added for
Web Page Password Protect
:
How would you get directly into this page without the popup? Straight from URL?
http://yourwebsite/page username=? password=?
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: Access protected page without login form
«
Reply #1 on:
January 03, 2007, 06:00:25 pm »
In order to omit login form and be able to go directly to the page being protected do the following:
1. Replace all
$_POST
with
$_REQUEST
in the password_protect.php
This will enable passing parameters via url.
2. Use it as follows:
http://yourwebsite/your_page.php?access_login=LOGIN&access_password=PASSWORD
It would show login form if specified incorrect LOGIN or PASSWORD
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...