Computers |
|
| | #1 (permalink) |
| True Techie | This is a pretty simple question (I think): Is it better to validate forms on a website using Javascript, PHP, or a combination of both? Would Javascript be better simply because it is a client-side language so things would be checked before they even reach the server? Thanks.
__________________ CPU: AMD Athlon 64 X2 5200+ Windsor, 2.6 GHz RAM: CORSAIR XMS2 2GB 240-Pin DDR2 VIDCARD: EVGA PCI-Express x16 GeForce 7900GS 256MB MOBO: ASUS M2N-SLI Deluxe AM2 HDD: Seagate Barracuda 320GB 7200 RPM SATA my blog: http://jspot.gotdns.com |
| | |
| | #5 (permalink) |
| Dope Tech | javascript can always be by passed. you can modify the script offline. YOU MUST VALIDATE SERVER-SIDE. on the internet the baddies will find you.
__________________ Tech IMO.com | ExtremeTech.com | ASP Free.com | SysOpt.com | Tech Support Guy.org DB Forums.com | Cyber Tech Help.com | Lazy Forums.com | Warrior Nation.net 'If you don't stand for somethin you'll fall for anything' - Dr. Dre Been there, done that |
| | |