Tag: php

Php syntax checker
174
2021-03-04 08:26:17

In this article, you have become familiar with the basic syntax in PHP. You may find a lot of confusing parts in some of the code examples above, but that's okay because you will understand it after reading a few more articles later. In the following article, I will show you the concept of variables because if you learn basic PHP , the use of variables is a lot.

Read more  

Session In PHP
402
2020-12-17 03:13:16

Session In PHP Another way to make data accessible on different pages of an entire Website is to use a PHP Session. A session creates a file in a temporary directory on the server where the session variables are registered and their values ​​are stored. This data will be available to all pages on the site during the visit to that site.

Read more  

PHP GET & POST methods
551
2020-10-20 02:02:01

There are two ways for the client to send information to Web Server: GET method POST method Before the browser sends the information, it encodes it using a schema called URL encoding. In this schema, the name / value pairs associated with the equal sign and the different pairs are separated by slashes & .

Read more  

PHP if, else, switch statements
415
2020-10-02 22:28:46

The if, elseif… else, and the inner switch are used to control flow based on different conditions.

Read more  

Constants in PHP
530
2020-09-18 02:14:43

A constant is a name or an identifier for a single value. The value of the constant cannot be changed during script execution. By default, a constant is case sensitive. By convention, constant identifiers are always uppercase. Constant names begin with a letter or an underscore (_), followed by any number of letters, numbers, or underscores. If you have defined a constant, it can never be changed or redefined.

Read more  

PHP syntax
721
2020-09-08 23:45:35

PHP syntax. Before you start programming in any language, the basic syntax and program structure is a very important part. This chapter introduces you to basic PHP syntax, including: php tag, comment, print command, echo command, and comparison of print and echo commands .

Read more  

Install PHP on Windows, Linux and Mac OS X
462
2020-09-07 23:28:56

In order to develop and run PHP pages, the following 3 basic components need to be installed on your computer system. Web Server - PHP will work with almost all Web Server software, including Microsoft's Internet Information Server (IIS), but then Apache Server is more commonly used. Download Apache for free from: http://httpd.apache.org/download.cgi

Read more  

Configure PHP.INI file
2255
2020-09-07 23:20:39

The PHP configuration file, php.ini, is the last and most direct step that affects PHP's functionality. This php.ini file is read every time PHP is initialized, in other words, whenever httpd is restarted for the Module Version or with each Script execution for CGI version. If your changes don't show up, remember to stop and restart httpd. If still not showing, use phpinfo() to check the path to php.ini.

Read more  

Configure Apache for PHP
393
2020-09-07 23:13:37

Apache uses the httpd.conf file for global settings, and the .htaccess file for per-directory access settings. Apache versions divide httpd.conf into three files (access.conf, httpd.conf, and srm.conf), and some users still prefer this arrangement.

Read more  

Install PHP on Mac OS X
379
2020-09-07 23:08:59

Mac users have the choice of installing either a binary or a source. Really, your OS X can go with Apache and PHP preinstalled. This could be an old architecture and it lacks many popular extensions.

Read more