I am trying to create a form that automatically uploads a particular file from the user's pc to the server and send the email with that file as attachment thru mail.
Everything is working well, but the problem is the file needs to be manually chosen from the "Browse..." button or by keying in the exact location.
Is there anyway to automate the process, i.e. when page loads, the location of the file will automatically appear on the <input type="file"> box.