Greetings, "Diogo Neves".
In reply to Your message dated Friday, October 31, 2008, 20:08:25,
> It depends on what he really want, but pathinfo really is a better option
> My test worked perfectly on files with no extension and without name...
File always have name. Extension is a part of it.
>
Greetings, "Boyd, Todd M.".
In reply to Your message dated Friday, October 31, 2008, 17:51:59,
> Someone suggested pathinfo() already... and brought up the issues of
> extensions < 3 chars and files with no "basename" (i.e., ".htaccess")...
> Checked out www.php.net/pathinfo, and ran a demo on my
2 matches
Mail list logo