Discussion: $_POST array question
Afficher un message
Vieux 26/04/2008, 05h33   #6
William Gill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: $_POST array question

Álvaro G. Vicario wrote:
> More or less, that's how it's always worked. Browsers sends all form fields
> except:
>
> - Fields with "disabled" attribute
> - Unchecked checkboxes


I could have sworn I didn't get empty fields before.

> For God's sake, *never* trust external data!

I don't. I didn't want to perform an array_key_exists( 'fieldname',
$_POST ) before I test what value they contain.

  Réponse avec citation
 
Page generated in 0,04209 seconds with 9 queries