|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
RE: Grr... array_sum() isn't working!
Assuming that the first value of $dir is './' then $dir/$file is './/$file' which contains 2 slahses, as when getnumfiles( "$dir/$file" ) will be called.
Try to use is_dir( "$dir$file/" ) and getnumfiles( "$dir$file/" ) instead. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Grr... array_sum() isn't working! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|