Are you trying to tell Rudi Ahlers is possible to call php scripts from a
browse event ? The statement "form.submit()" belongs to JavaScript not to
php.
Can you imagine how boring is have to submit forms and reload pages every
time the user make changes on a drop down menu?
I know you're right about disable JavaScript on the browser but I think
security matters are more applicable to MS Active X which even writes to
your HD, as far as I know JavaScript is not allowed to do that.
Of course you can't make password validation client side, there is no data
security client side.
I think academic and radical positions aren't good at all. You should deal
with the real world where you have the give the user as much comfort as you
can. Applications don't have proper life, they are created for been used, so
the user is always the king.
-----Mensagem Original-----
De: Ron Brogden <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: sexta-feira, 23 de fevereiro de 2001 18:40
Assunto: Re: [PHP-DB] onMouseOver & onMouseOut
> At 06:27 PM 2/23/2001 -0300, you wrote:
> >Remember, php is server side while JavaScript is client side. You can't
use
> >php client side. You can use some client side events to call php scripts
> >which will run on the server and send data to the browser. Events are
client
> >side, so try JavaScript you'll enjoy it too.
>
> Also keep in mind that Javascript should *never* be relied upon for input
> validation.
>
> It is trivial to disable Javascript on the client side (and there are very
> good reasons for doing so, drop by www.securityfocus.com sometime for
> reasons why) and you cannot trust any data that comes from the end user.
I
> personally would never recommend Javascript "crippling" your site - it
> should run perfectly without it since support varies from browser to
> browser (not everyone uses the latest version of IE) and you have no
> guarantee that it will be enabled client side at all. That's not even
> getting into people building URLs by hand for "kicks". Since you have to
> perform input validation server side anyway, this makes Javascript pretty
> much useless for this purpose.
>
> Javascript is really only useful for display effects that do not affect
> accessibility which means they should be avoided most of the time just
like
> Macromedia Flash, Quicktime, etc. unless you are 100% sure your audience
> meets your site's requirements exactly.
>
> All IMHO of course.
>
> Cheers,
>
> Ron
>
>
> --------------------------------------------------------------------------
---
> Island Net AMT Solutions Group Inc. Telephone: 250
383-0096
> 1412 Quadra Toll Free: 1 800
331-3055
> Victoria, B.C. Fax: 250
383-6698
> V8W 2L1 E-Mail:
[EMAIL PROTECTED]
> Canada WWW:
http://www.islandnet.com/
> --------------------------------------------------------------------------
---
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]