tensuke
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by tensuke
-
-
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.
-
Anyone?
-
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? -
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. ^_^
Social Network Site
in Website Critique
Posted
Haha, cool.
I hate when 1 character messes everything up.