PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It's looking through a folder for all jpg's, then doing stuff with them. The code above works fine, the only problem being it will include .jpg files but not .JPG files. I tried:
It's looking through a folder for all jpg's, then doing stuff with them. The code above works fine, the only problem being it will include .jpg files but not .JPG files. I tried:
apart from the fact that the endings of a filename usually are not a very reliable way to determine if a file is really a jpg (should use gnu file or the like for that)..