|
Posted by nescio on 05/14/06 15:45
> > my questions are:
> > - will 'submit' and 'PHPSESSID' always appear in the request array; ?
>
> Onky if:
> a) "submit" is clicked.
> b) you set PHPSESSID yourself
what i want to know is: when i use a session variable as a value in a text
field, will there then always be
a phpsessid in de request array when i sent the form?
> > - if yes: can i then use $amount = sizeof($_REQUEST) - 2; to get the
> > amount of text fields in the form?
>
> Nope, highly unreliable
by text field i also mean text/textarea/listbox etc
if the size of the request array is let's say 10, then the amount of text
fields (be it text/textarea/listbox etc)
is 10 minus the submit and the phpsessid, or not?
is it possible that there are other key's in the array, and if yes, which
can they be?
thank,
Navigation:
[Reply to this message]
|