Jump to content

booza

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

booza's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. cant get this to work [!--quoteo(post=380199:date=Jun 5 2006, 09:00 AM:name=Orio)--][div class=\'quotetop\']QUOTE(Orio @ Jun 5 2006, 09:00 AM) [snapback]380199[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code]$num=count(scandir($dir); echo("There are currently ".$num." files in ".$dir);[/code] But scandir requires PHP 5 or higher. So if you have PHP<5, go to: [a href=\"http://www.php.net/manual/en/function.scandir.php\" target=\"_blank\"]http://www.php.net/manual/en/function.scandir.php[/a] And see user's notes, there you can find a function like scandir for PHP<5. Orio. [/quote]
  2. how can i display how many files in a directory ie.. there is currently 701 files
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.