Love begins with a metaphor. Which is to say, love begins at the point when a woman enters her first word into our poetic memory. - Milan Kundera
Je gaat het pas zien als je het doorhebt.
wellicht dat jij daar ook last van hebt?
Je gaat het pas zien als je het doorhebt.
Dus waar dat staat over die chdir is mij niet helemaal duidelijk.PHP Manual / is_dir
Returns TRUE if the filename exists and is a directory. If filename is a relative filename, it will be checked relative to the current working directory.
print even de realpath van de dir waarop je checkt. kijk of die wel klopt. en dan, debug-ze
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Ik weet zeker dat ik de goede dir te pakken heb, want hij laat alle content gewoon zien. Dir's en File's...
Het probleem is dat de is_dir() functie alleen de "." en de ".." als Dir aanziet en de rest als File's.
Misschien gebruik ik de functie niet goed???
1
2
3
4
5
| if(is_dir($dContent) == 1){ print "<b>$dContent</b><br>"; } else{ print "$dContent<br>"; } |
[ Voor 0% gewijzigd door Vulpes_Vulpes op 17-09-2002 00:35 . Reden: Code tags aangepast ]
Love begins with a metaphor. Which is to say, love begins at the point when a woman enters her first word into our poetic memory. - Milan Kundera
Maakt het wat uit als je dit doet:
1
2
3
4
5
6
7
| if(is_dir($dContent) == 1){ print "<b>$dContent</b><br>"; } elseif (is_file($dContent)) { print "$dContent<br>"; } else { print "<I>$dContent</I><br>"; } |
Brusselmans: "Continuïteit bestaat niet, tenzij in zinloze vorm. Iets wat continu is, is obsessief, dus ziekelijk, dus oninteressant, dus zinloos."
[ Voor 0% gewijzigd door Vulpes_Vulpes op 17-09-2002 12:22 . Reden: typo ]
Love begins with a metaphor. Which is to say, love begins at the point when a woman enters her first word into our poetic memory. - Milan Kundera