See the API for the File class, it contains a methods exists() to check if a File exists as well as to create a new File.
Type: Posts; User: copeg
See the API for the File class, it contains a methods exists() to check if a File exists as well as to create a new File.
Please wrap your code in the code tags, and please post any and all errors