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!
I was wondering if anyone knew any method to check image validation. For example if someone enters an avatar url the script checks to see if it ends in .jpg, .gif or .bmp
I thought ereg() but im not too sure on the workaround of that!