correct way is to get file name is :

$path_parts = pathinfo($dir.$file);
$fdir = $path_parts["dirname"];                         // directory name
$fname = $path_parts["basename"];               // file name
$ftext = $path_parts["extension"];                      // file extension



best regards from saif
---
[php 406, apache 1312, winme]
[mysql 32321, personal oracle 8]







_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to