Zubrag.com
May 21, 2012, 01:07:04 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
>
submit link from password protected page
Pages: [
1
]
Print
Author
Topic: submit link from password protected page (Read 12148 times)
soulfire
Newbie
Posts: 4
submit link from password protected page
«
on:
January 01, 2007, 11:11:24 am »
Great script! However, I have protected a page that I have created as a "Guestbook" page. In other words, the initial Guestbook page is password protected. That page has a link on it to Sign the Guestbook. Here's my issue. When I click on the link on the protected page I am asked for my user id / password again. How can I limit the password protection to only the initial page?
Thanks!
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: submit link from password protected page
«
Reply #1 on:
January 01, 2007, 11:14:58 am »
Please look here:
http://www.zubrag.com/forum/index.php?topic=54.0
Does it help?
Logged
soulfire
Newbie
Posts: 4
Re: submit link from password protected page
«
Reply #2 on:
January 01, 2007, 11:29:26 am »
Well, I'm afraid not. I have verified that the protection code is the very first line in my php file (http://www.searcyvalleybaptist.com/vbc/prayerroom/index.php), with not spaces, tabs, etc.
'Cookies' appears to be enabled, as I am storing other Cookies.
Below is what the first several lines of my password protected pages looks like.
<?php include("/home3/searcyvb/searcyvalleybaptist-www/vbc/password_protect.php"); ?>
<?
/*
* Name: HyperBook Guestbook
* Developer: Thomas R. Pasawicz
* Creation Date: April 15, 2001
* Version: 1.30 (released Feburary 16, 2006))
* Function: Allows guests to add and veiw guestbook entries.
* (c) 2001-2006 Thomas R. Pasawicz (webmaster@diamond-back.com)
*
*/
/******************************************************************************
* FUNCTIONS
*****************************************************************************/
Logged
soulfire
Newbie
Posts: 4
Re: submit link from password protected page
«
Reply #3 on:
January 01, 2007, 11:34:46 am »
user below login credentials to see what I'm talking about, if it helps.
user: test
pass: abcd123
Again, awesome script!
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: submit link from password protected page
«
Reply #4 on:
January 01, 2007, 04:19:49 pm »
Strange. It cannot set cookie for some reson
I downloaded that guestbook, protected it with the same login/password, and it works ok (requires password only once).
Could you pack and send me your customized guestbook for testing?
Logged
soulfire
Newbie
Posts: 4
Re: submit link from password protected page
«
Reply #5 on:
January 01, 2007, 05:50:20 pm »
Sure can. How would you prefer I send it? I'm assuming there is no option for attachments in this forum?? Thanks again, for all the help!
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: submit link from password protected page
«
Reply #6 on:
January 02, 2007, 04:43:33 am »
Please send to admin "@@@" zubrag.com
Logged
zubrag
Administrator
Hero Member
Posts: 753
Re: submit link from password protected page
«
Reply #7 on:
January 04, 2007, 12:02:39 pm »
Something was inserting special characters (hex codes EF BB BF) before the protection string (maybe editor). Protector could not set verification cookie because of those special characters. Make sure you no characters added before the protection string, otherwise you'll get "headers already sent" error message.
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...