Posted by Steve on 10/30/07 16:59
"mikefromvt" <mike.blonder@gmail.com> wrote in message
news:1193760103.912893.90160@d55g2000hsg.googlegroups.com...
> Hi.
>
> I have to verify and filter data received via std input through an
> HTML form that is embedded within a php scripts. I am unable to apply
> the filter to the std input data. I have been trying to push the std
> input to the filter (in the form of a function) via the ONSUBMIT
> feature of HTML forms. Should this work?
nope.
php executes on the server, not on the client. either use javascript to
'validate' on the client-side...regardless, use php to validate the data
once the form submits the data to the server.
[Back to original message]
|