Re: Code help on a multi select list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stuart Felenstein wrote:
I would choose javascript to to check this

This response I don't understand. There are 50
options and the intent is to allow 3 of those 50. Then some "genius" comes along and turns off
javascripting and chooses all 50. I KNOW it will
happen. I wouldn't even dare to dream that it may
not.


Stuart

Precisely... you can't rely on the the client to do your checking. You need to check from the server side to make sure no one's going to spoof your code. With that in mind, you mind want to implement both client-side and server-side checking. That way, it gives your legitimate users a more user-friendly approach, while still ensuring from the server-side that no one's going to spoof your form.


--
Regards,
Ben Ramsey
http://benramsey.com

---------------------------------------------------
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux