Re: [php-list] Re: how to ascertain no of links on web site

2005-08-05 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >I would think you'd do something like read a directory then count each >file name and spit it out in a count variable. I think that you would have to ask if the php code is on xyz.com, or if Mukesh is trying to read someon

[php-list] Re: how to ascertain no of links on web site

2005-08-05 Thread Marian Briones
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 "Files:\n"; while ($fileName = $dorectpruPb