ANSWERS: 2
  • Javascrip and PHP are not usually interchangeable. Javascript is a client-side language, in that it runs inside the browser on the machine of the person who is viewing your website. PHP is a server-side language - it runs in the web server, though it can also be used as a stand-alone language. As far as I know, neither of these is a "Sun language". Javascript was invented by Netscape, PHP by Rasmus Lerdorf, Andi Gutmans and Zeev Suraski. The only language invented by and "belonging to" Sun is Java.
  • No, it cannot. First of all because PHP is server-sided and JS client sided. Depends on what you want to do. JS is not a Sun language. PHP is free and you can easily find documentation/help for it.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy