Hi
While uploading a file to a specific directory,how to check if that file is already exist in that directory or not.
But using function file_exists($filename),only checks the file exist in the client from which the upload takes place.But i want to check before copying the file into the server directory. That is i want to check before issuing copying it.
copy($filename,"filepath to copy/$file_name");
Is there any way to check in the server side.
Thanks in advance for your help.
srini