1. Home
  2. Computing & Technology
  3. Python

Using PHP and Javascript instead of CGI

By Al Lukaszewski, About.com

3 of 9

Javascript: The submit() Function

Everything that happens in the world of Javascript happens on the user's computer. The user can see all of the code that is written, if necessary. For this reason, one should not use Javascript for handling sensitive data like passwords and personal information. The same applies to your own data. If you would rather not disclose how to access your database, you may prefer to keep the actual system calls away from Javascript. For this, you need scripting on the server. Enter PHP.

3 of 9

Explore Python

More from About.com

  1. Home
  2. Computing & Technology
  3. Python
  4. Web Development
  5. PHP and Javascript for CGI - Javascript: The submit() Function

©2008 About.com, a part of The New York Times Company.

All rights reserved.