I'm a basic php programmer, with a simple website with users and profile pictures.
There is a folder called ppic
(profile pictures).
When I use readdir()
like it says on the php.net site, it prints out two nonexistent files.
If I put a echo "there was a match - $entry<br>;
inside the while
loop with $entry
being the file name, it prints out:
there was a match - .
there was a match - ..
there was a match - Autumn Leaves.jpg
there was a match - Creek.jpg
there was a match - Toco Toucan.jpg
I only have three files in the folder: "Autumn Leaves.jpg", "Creek.jpg", and "Toco Toucan.jpg".
I'm not too great with computers, so I have no idea what those dots mean.
Can somebody please explain these to me?