Re: What's this in my dir list?

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

 



tedd wrote:
Hi Gang:

When I list one of my directories, via:

echo("<pre>");
system("ls -l");
echo("</pre>");

I get:

-rw-r--r--  1 ancientstones psacln  6980 Apr 28 18:46 ancientstones.gif
-rw-r--r--  1 ancientstones psacln  2090 May 14 10:10 as.css
-rw-r--r--  1 ancientstones psacln   658 May  2 14:59 big_m.php
--^ -> Type of file
---^^^ -> User bits (user has read write)
------^^^ -> Group bits (group can read)
---------^^^ -> Other bits (world can read)
--------------^ -> Hard links
----------------^^^^^^^^^^^^^ -> User (owner)
------------------------------^^^^^^ -> Group
--------------------------------------^^^^ -> Filesize
-------------------------------------------^^^^^^^^^^^^ -> last mod
--------------------------------------------------------^^^^ -> filename

Really, I'm not trying to be a dick, but buy a book/research this online. It's pretty important for the security of your system.

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx

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