Tag: php

Session In PHP
237
2020-12-16 20: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
420
2020-10-19 19: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
300
2020-10-02 15:28:46

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

Read more  

Constants in PHP
420
2020-09-17 19: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
431
2020-09-08 16: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
306
2020-09-07 16: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
298
2020-09-07 16: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
264
2020-09-07 16: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
277
2020-09-07 16: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  

What is php
271
2020-09-07 15:47:42

What is php?. PHP started as a small open source project, but as it progressed, more and more people found it to be more and more useful. PHP was developed from a product called PHP/FI. PHP/FI, created by Rasmus Lerdorf in 1994, was originally viewed as a simple subset of the Perl script code to track online access to his resume. He named this script "Personal Home Page Tools".

Read more