Processing path

PHP has many features for the analysis and processing of text variables that contain the path to the file. The basename ($ path) returns the name of the file adirnamekahovka-service.ru

($path) everything except the file name. On the other hand function pathinfo ($path) returns an associative array containing information about path specified as a parameter – the key „dirname” contains the name of the directory, „basename” the file name „extension” – the file extension.

Cookies help us deliver our services. By using our services, you agree to our use of cookies. More Info | Close