Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread CPT John W. Holmes
> To others on the list: how do perl, jsp, asp, etc. > handle the passing of multiple selects? What is their equivalent of php's > "var[]" syntax for handling form values? >From what I've picked up, if there are multiple variables in the query string / post data with the same name, the scripting

Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread Mark Heintz PHP Mailing Lists
On Mon, 10 Mar 2003, Dan Phiffer wrote: > I guess this question was coming from a "couldn't they have designed in a > cleaner way?" perspective. Don't get me wrong, I think the way PHP does an > outstanding job of handling these particular kinds of form submissions, I > just figured there might be

Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread Dan Phiffer
> Unless you're ashamed to be running php, or don't intend to be spending as > much time on security as you should, why would this be an issue? If your > app is well-written, the knowledge that it's implemented with php > shouldn't benefit a potential attacker. You know what they say about > secu

Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread Mark Heintz PHP Mailing Lists
On Mon, 10 Mar 2003, Dan Phiffer wrote: > Am I correct in my understanding that for a multi-select input, PHP requires > that the name attribute end with square brackets (i.e. name="my_select[] multiple>") in order for the submission be handled > properly? As far as I know, that is correct. I'd

Fw: [PHP] Multi-select inputs and naming

2003-03-10 Thread Kevin Stone
- Original Message - From: "Dan Phiffer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 11:24 AM Subject: [PHP] Multi-select inputs and naming > Hello, > > Am I correct in my understanding that for a multi-select input, PHP req

[PHP] Multi-select inputs and naming

2003-03-10 Thread Dan Phiffer
Hello, Am I correct in my understanding that for a multi-select input, PHP requires that the name attribute end with square brackets (i.e. http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php