Adam 2009-02-09
Documentation » Getg_info
Returns path's information for specified file's path using PHP's pathinfo
g_info('/tmp/upload/file.jpg', 'extension') => 'jpg'
mixed g_info( string $fn, string $field )
Parameters
- string $fn File path
- string $field Path's info field (property) name (i.e. extension)
Returns
- mixed Path's info value
