{"id":15205,"date":"2023-02-22T12:23:26","date_gmt":"2023-02-22T10:23:26","guid":{"rendered":"https:\/\/web-mate.gr\/what-is-php\/"},"modified":"2023-02-22T12:23:26","modified_gmt":"2023-02-22T10:23:26","slug":"what-is-php","status":"publish","type":"post","link":"https:\/\/web-mate.gr\/en\/what-is-php\/","title":{"rendered":"A short introduction to PHP and what it is"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PHP is a programming language for building websites with dynamic content. This means a site can be interactive, for example a visitor enters a username and password on a page, these are checked, and the user is logged in to the site \u2013 on an e-shop, say!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP is so powerful that it is used by WordPress, the largest blogging platform on the web, as well as by Facebook.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A PHP file can contain text, HTML, CSS, JavaScript and PHP code. The code runs on the server and the result is returned to the browser as plain HTML.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What else can PHP do?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PHP can create, open, close, read, write and delete files on a server. It can send and receive cookies. It can also add, delete and change data in your database, and it can encrypt data.<br><br>With PHP you are not limited to producing HTML. You can generate images, PDF files and any kind of text, such as XHTML and XML.<\/p>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1720442155765\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">Why use PHP?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>PHP runs on all major platforms, such as Windows, Linux, Unix, macOS and so on. It works with almost every server in use today (Apache, IIS and others). It supports a wide range of databases, it is free, it is easy to learn and it runs efficiently on the server.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">A little history<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Work on PHP began in 1994, when Rasmus Lerdorf wrote a number of CGI programs in C that he used to maintain his personal website.<br>\nHe extended them to work with forms and to talk to databases, and he called this implementation Personal Home Page\/Forms Interpreter \u2013 PHP\/FI.<br>\nToday PHP stands for Hypertext Preprocessor. The language keeps evolving, with new versions released at regular intervals.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP is a programming language for building websites with dynamic content. This means a site can be interactive, for example a visitor enters a username and password on a page, these are checked, and the user is logged in to the site \u2013 on an e-shop, say! PHP is so powerful that it is used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9426,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","rank_math_title":"What Is PHP? A Short Introduction | WebMate","rank_math_description":"What is PHP and what can it do? A short guide to the language behind WordPress: dynamic pages, databases, files, cookies and a little history.","rank_math_focus_keyword":"what is php"},"categories":[238,249,248],"tags":[],"class_list":["post-15205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-mate-en","category-website-design-articles","category-website-programming"],"_links":{"self":[{"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/posts\/15205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/comments?post=15205"}],"version-history":[{"count":0,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/posts\/15205\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/media\/9426"}],"wp:attachment":[{"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/media?parent=15205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/categories?post=15205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web-mate.gr\/en\/wp-json\/wp\/v2\/tags?post=15205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}