RE: string conversion
| From: | saif | Date: | Fri, 21 Sep 2001 13:03:03 +0000 |
| Subject: | RE: string conversion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68206@lists.php.net to get a copy of this message | ||
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