Re: [PHP] Server VS Client script validation

2001-01-30 Thread Chris Adams
On 29 Jan 2001 13:38:20 -0800, kaab kaoutar <[EMAIL PROTECTED]> wrote: >What's best ? using client script while validating form inputs(javasript or >vbscript) or using php for validating! The only acceptable approaches must be server side - otherwise you've just decided that security and reliabi

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Michael Hall
Client side validation is not very secure. Someone may be able to play around with your script and send back whatever they like. Mick On Mon, 29 Jan 2001, kaab kaoutar wrote: > Hi! > What's best ? using client script while validating form inputs(javasript or > vbscript) or using php for valid

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Steve Edberg
At 11:27 AM + 1/29/01, kaab kaoutar wrote: >Hi! >What's best ? using client script while validating form >inputs(javasript or vbscript) or using php for validating! >with the first way, i can trigger alert ! however with the second >one, i have to show up a whole page for just saying that th

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Toby Butzon
Make the form page post to itself and use default values of . The initial form will be blank, but subsequent failing attempts will have the values the visitor already entered. You can also add red text to the form to show what exactly was wrong, etc. Then, to handle posts that are successful, you

[PHP] Server VS Client script validation

2001-01-29 Thread kaab kaoutar
Hi! What's best ? using client script while validating form inputs(javasript or vbscript) or using php for validating! with the first way, i can trigger alert ! however with the second one, i have to show up a whole page for just saying that there are errors, go back to the form ! any ideas ? t