php - Sivu 3

php Use of hash functions in PHP
Use of hash functions in PHP
Data security is very important for any application. The unauthorized access of the data can damage the valuable data of the application. If the data ...
php Use of glob() function in PHP
Use of glob() function in PHP
glob() function is a built-in PHP function that is used to search the specific files or folders based on the pattern. It returns the file and folder n...
php Getenv () -funktion käyttö PHP ssä
Getenv () -funktion käyttö PHP ssä
Ympäristömuuttujia käytetään PHP: ssä sovelluksen asettamiseen ja erityyppisten tietojen hakemiseen dynaamisesti palvelimelta. Tietokannan tunnistetie...
php Use of foreach loop in PHP
Use of foreach loop in PHP
Many types of loops are supported by PHP. foreach loop is one of them. This loop is mainly used to parse array and object variables. When the total nu...
php Use of PHP Global Variable
Use of PHP Global Variable
The variable is used to store any value temporarily in the script. Two types of variables are used in any programming language. These are local and gl...
php Retrieve the Full URL in PHP
Retrieve the Full URL in PHP
Two types of global variables can be used in PHP: the superglobal variable and the user-defined variable. $_SERVER is a superglobal array variable tha...
php Heredocin käyttö PHP ssä
Heredocin käyttö PHP ssä
Heredoc on yksi tapa tallentaa tai tulostaa tekstilohko PHP: hen. Perimämuuttujaan tallennetut tiedot ovat luettavampia ja virheettömämpiä kuin muut m...
php Use of fread() in PHP
Use of fread() in PHP
PHP has many built-in functions to read the content of any file. Some of them are fread(), readfile(), fgets(), fscanf(), file(), etc. Some functions ...
php Use of basename() in PHP
Use of basename() in PHP
The basename() function is a built-in function of PHP that retrieves the filename from a given path. It can be used to print only the name of the file...