php - Sivu 3
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 ...
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...
Getenv () -funktion käyttö PHP ssä
Ympäristömuuttujia käytetään PHP: ssä sovelluksen asettamiseen ja erityyppisten tietojen hakemiseen dynaamisesti palvelimelta. Tietokannan tunnistetie...
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...
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...
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...
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...
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 ...
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...