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!
If $file holds the full path to the file (i.e. logo.jpg or ../images/logo.jpg) it should work. What is the content of $file? Give us what the following outputs: