Monthly Archives: July 2022

INTRODUCTION TO PHP LANGUAGE

INTERNET AND HTTP PROTOCOL Before talking about the PHP language, it is good to make some premises on the web. We can consider the Internet as a series of interconnected devices. Generally these devices on the internet are called hosts or peripheral systems. Hosts are connected to each other via a series of links (wi-fi, fiber) and routers. In order for hosts to communicate properly, it is necessary to have rules for exchanging data. These rules are called protocols. When we open a browser and enter an address to visit a website, technically a communication has taken place between [...]

By |2022-07-15T09:44:50+02:0015 July 2022|0 Comments

FIRST STEPS IN PHP

FIRST PHP PROGRAM Let's start by deleting the contents of the htdocs folder located under the path C:\xampp\htdocs. The PHP web server when we connect with the browser at http://localhost or http://127.0.0.1 is actually accessing the htdocs folder. Once the content has been deleted, we create a corsi folder inside htdocs and nest a php folder. Now let's open V.S Code and connect the php folder. We are now ready to write our first PHP program. We create a file and call it index.php, the name index is not random; in fact, the Apache web server will automatically search [...]

By |2022-10-27T20:45:10+02:0031 July 2022|0 Comments
Go to Top