I would think you'd do something like read a directory then count each
file name and spit it out in a count variable.  Maybe this is
elementary, but I'm thinking something like

$count=0;

$direcotryObject = dir("/home/someuser/public_html/files");

print "<B>Files:</B><BR>\n";
while ($fileName = $dorectpruPbkect=?read)__
{
   print "$fileName<BR>";
   $count=$count+1;

}
$directoryObject->close();
print "Web directory contains $count files\n";
--- In [email protected], "Mukesh Kumar" <[EMAIL PROTECTED]> wrote:
> Dear All,
> 
> I'd like to know all files residing on a domain.
> for insance,
> domain name xyz.com
> 
> I want to know how many files are residing on web folder
> 
> Is it possible or not?
> 
> Thank you,
> 
> Mukesh kumar




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hqd09r3/M=362131.6882499.7825260.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123279791/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to