[Php-it] Gestire gli archivi con php...
Cristiano Verondini
cristiano at verondini.it
Fri Jun 8 12:38:13 CEST 2007
> credo sia perche' su linux * include anche:
> . e ..
> mentre *.* no ... prende sono solo i file con
> estensione non nascosti
No, su UNIX '*' non include i dot-file:
neo:/tmp/test# ls -la
total 120
drwxr-xr-x 2 root root 4096 2007-06-08 12:41 .
drwxrwxrwt 9 root root 114688 2007-06-08 12:41 ..
-rw-r--r-- 1 root root 0 2007-06-08 12:41 a
-rw-r--r-- 1 root root 0 2007-06-08 12:41 .a
-rw-r--r-- 1 root root 0 2007-06-08 12:41 b
-rw-r--r-- 1 root root 0 2007-06-08 12:41 .b
neo:/tmp/test# echo *
a b
neo:/tmp/test# echo .*
. .. .a .b
--
Cristiano Verondini
http://www.verondini.it --- [ICQ: 114 190]
More information about the Php-it
mailing list