Re[2]: Reg Ex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

> <?php
> var_dump( pathinfo( '.htaccess' ));
> var_dump( pathinfo( 'htaccess' ));
> die( );
> ?>



-- 
Sincerely Yours, ANR Daemon <anrdaemon@xxxxxxxxxxx>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux