answersLogoWhite

0


Best Answer

PHP is a programming language, just like Perl, Python, JavaScript, Basic and many other interpreted language.

Note: the PHP interpreter can be integrated into the webserver, or run standalone.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

A PHP script runs on the SERVER.

When you visit a webpage your browser will execute its corresponding client scripts such as JavaScript scripts after downloading the webpage to your computer.

A PHP script can make use of resources in the server which contains the webpage you are visiting. Javascript has no direct access to such information (databases on the server, connection with external servers and services, users currently logged on server, etc.).

In fact nowadays Javascript can connect to server-side scripts to aquire any information there, but it is still run on the client (the webpage visitor's browser), not in the server.

For example, if your web server is very busy and slow, your Javascript will run as fast as visitors computers can meanwhile your Javascript script does not require communication to such slow server.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

PHP is server-side because the code runs on the server, not in the browser. So when you load a website that is running PHP your computer contacts the server, the server executes the code, returns the results, and the browser just displays it.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

It is a dynamic scripting language which is open source. In other words it allows changes to be made without the need to unload it off the server and you don't have to pay anything to use it

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is PHP considered a scripting language and not a programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the definition of PHP programming?

PHP programming is a scripting language. This scripting language can be used in web page development. In addition, PHP commands can be embedded into an HTML document. PHP software is available at no cost.


What is a feature of PHP?

PHP or Personal Home Page is a website scripting programming language.


What are the differences between PHP and .NET?

.NET is a framework, PHP is a scripting (programming) language.


What is the PHP programming language?

PHP is a server-side scripting language mainly for processing a user's data-input and generating dynamic content.


Why is PHP considered a scripting language instead of programming?

The difference between "scripting" and "programming" is largely one of semantics; they're essentially the same thing. A purist is more likely to call writing in a usually interpreted language (such as PHP) "scripting" and writing in a usually compiled language (such as C) "programming". But either way, you're writing a set of instructions for the computer to follow, and some "scripts" can be as (or more) complicated than many "programs."


What is the setting mail php used for?

When referring to the mail setting PHP, it is a server side scripting language that is designed for web development. PHP can also be used for a general purpose programming language.


What is needed for a job in PHP programming?

In order to obtain a job in PHP programming one must have a multitude of skills. The most important skill is the knowledge of server side scripting language.


How do you create main in php?

PHP is web based programming language and there in no main() function defined. Considering, PHP as HTML embedded language and server side scripting language,It get interpreted by web server .Example: Hello - End of PHP block


How long does it takes to learn PHP?

It varies depending on your previous experience with programming/scripting, HTML, and such, but generally PHP is considered quite an easy language to learn. But as any language, it may be easy to learn to use it, but hard to learn to use it the right way.


What scripting engine does PHP use?

PHP itself is a scripting language, and uses it's own PHP interpreter (engine).


What programming language is PHP made with?

PHP is written in the C programming language.


What is Pearl-php?

Pearl is not a programming language and it's definitely not related to PHP. It's a pricey object you give to your significant other. Perl on the other hand, is a scripted JIT programming language principally aimed at IO (file operations) whereas PHP is also a scripted JIT programming language but that is principally aimed at website server-side scripting.