Jump to content

tensuke

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Posts posted by tensuke

  1. You might want to run a spell check before opening it to the public.

    Oh, and there was a MYSQL error when I registered, but um, I accidentally forgot to copy it. Sorry!

    It had something to do with age though, so I think you may've messed something up when fixing that bug. ;)

  2. Thanks for the info,that helped. :D

    EDIT:
    Howdy,
    I'm using
    [code]
    <?php
    $dir = "/ipbfree";
    $dh  = opendir($dir);
    while (false !== ($filename = readdir($dh))) {
       $ipbfree[] = $filename;
    }

    echo count($ipbfree);
    ?>
    [/code]
    to scan the files in the directory ipbfree.Ipbfree is in the same folder as the index.html that is running the script.
    But everytime I try to fix it,it doesn't display anything.The number is between [ ],and so it just shoes [].
    I am using PHP 4.3.11.Any ideas?
  3. Hey,I'm new to PHP so I'm still learning,but I have a question:
    How do you get the number of files in a certain directory and store that into a variable?

    And also,what would be the correct way display that variable's data?

    Thanks for any help. ^_^
×
×
  • 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.