PHP, or Hypertext Preprocessor, is a general-purpose, open-source scripting language used for server-side web development. It's embedded into HTML codes, so a browser does not understand PHP. When someone visits a website, their browser requests the page from the server. The server checks for the .php file associated with the request, and if found, sends the file to the PHP interpreter. The PHP code then runs on the server, and generates an HTML page to send to the visitor. The visitor then sees the HTML page in their browser. It is called a preprocessor because it builds the information... Show more PHP, or Hypertext Preprocessor, is a general-purpose, open-source scripting language used for server-side web development. It's embedded into HTML codes, so a browser does not understand PHP. When someone visits a website, their browser requests the page from the server. The server checks for the .php file associated with the request, and if found, sends the file to the PHP interpreter. The PHP code then runs on the server, and generates an HTML page to send to the visitor. The visitor then sees the HTML page in their browser. It is called a preprocessor because it builds the information before sending it to the computer that visits the web page. Many of the most popular CMS platforms, such as Wordpress, are built on a PHP core. PHP has several benefits, including: It's open-source, It's easy to learn, and It's compatible with multiple programming languages and databases. Show less
PHP, or Hypertext Preprocessor, is a general-purpose, open-source scripting language used for server-side web development. It's embedded into HTML codes, so a browser does not understand PHP. When someone visits a website, their browser requests the page from the server. The server checks for the .php file associated with the request, and if found, sends the file to the PHP interpreter. The PHP code then runs on the server, and generates an HTML page to send to the visitor. The visitor then sees the HTML page in their browser. It is called a preprocessor because it builds the information before sending it to the computer that visits the web page. Many of the most popular CMS platforms, such as Wordpress, are built on a PHP core.
PHP has several benefits, including: It's open-source, It's easy to learn, and It's compatible with multiple programming languages and databases.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.