Discussing Html . Code , Software , other
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 6
- Joined: Fri Apr 16, 2004 4:04 am
How do you pass a "remember me" value through as hidden, so it is always checked, but you cannot see it.
- Posts: 312
- Joined: Sat Apr 05, 2003 4:33 am
- Location: Mansfield, UK
you could use PHP's sessions.
use the following method:
<input type="hidden" name="hiddenfieldname" value="<? echo $_POST['hiddenfieldname'];">
This would then be submitted with each page of the form, but you would need to put that code on every page you used.
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
It depends on how the script checks to see whether or not the box is checked. Many just check whether it has a value, so as long as you pass a hidden field with a value, the script will interpret it as "checked".
Who is online
Users browsing this forum: No registered users and 0 guests