i want to check if a certain file in the default directory exists. The file is called 'userfile' and if it doesnt exist, i want to create it.
how do i see if the file exists;
i tried if filesize(loanfile)=0 butit doesnt seem to work and im guessing becase the file doesnt exist