php - Strona 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...
Użycie funkcji getenv() w PHP
Zmienne środowiskowe są używane w PHP do konfigurowania aplikacji i dynamicznego pobierania różnych typów danych z serwera. Poświadczenia bazy danych,...
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...
Korzystanie z Heredoc w PHP
Heredoc to jeden ze sposobów przechowywania lub drukowania bloku tekstu w PHP. Dane przechowywane w zmiennej heredoc są bardziej czytelne i wolne od b...
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...