|
-
Oct 24th, 2005, 05:50 PM
#1
Thread Starter
New Member
manipulating checkboxes
I want to put something on a website where a user can click a check box and that box will stay checked and won't be able to be unchecked unless that specific computer or person unchecks it. For example, there are ten check boxes that are different items. Anyone can claim any number of those items, but once they're claimed no one else can claim them and only the user who claimed it can un-claim it. I really don't have much knowledge of PHP, but I figure i'll have to use cookies or something to know which user can un-check certain boxes.
Thanks for any help.
-
Oct 24th, 2005, 09:27 PM
#2
-
Oct 25th, 2005, 01:47 PM
#3
Thread Starter
New Member
Re: manipulating checkboxes
But I want to do it without having actual users. Sorry if I didn't make that clear enough. When I said user, I meant the person on a computer
-
Oct 31st, 2005, 08:33 AM
#4
Junior Member
Re: manipulating checkboxes
Use their IP instead then, to get it with php it would be $_SERVER["REMOTE_ADDR"]
-
Nov 3rd, 2005, 01:02 AM
#5
Re: manipulating checkboxes
Disabling the checkbox is possible. But you also need a server side flag to assertain wherther or not a partiular userr has ticked the box. Presumably it will be disabled for all other uses except the one who checked it.
How are you planning on storing this information? Database, files?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|