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 address at

PHP General Mailing List (
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