[ create a new paste ] login | about

Link: http://codepad.org/NeCvCPkB    [ raw code | output | fork ]

andremoreno - PHP, pasted on Nov 24:
1
2
3
4
5
6
7
8
<?php

$filename = "/var/www/andremoreno/nama.berkas.jpg";
$path_info = pathinfo($filename);

print_r($path_info);

?>


Output:
1
2
3
4
5
6
7
Array
(
    [dirname] => /var/www/andremoreno
    [basename] => nama.berkas.jpg
    [extension] => jpg
    [filename] => nama.berkas
)


Create a new paste based on this one


Comments: