Hi all!
I need to open a file from a folder on a remote server, but I don't want any PHP warnings on screen when the file is missing. How can I check if the file exist before opening it?
// This prints me a warning message
if(fopen("filename.txt", "r") != FALSE){
$ok = file("filename.txt");
}
Thanks
_