Is it possible to set a default value in a ‘file browse’ option in HTML/PHP? For example:
<b>Enter Image:</b></font><input type="file" name="ima" accept="image/gif">
Can i set a default file name within this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No – Since it will be a security issue. Consider setting the default to
/etc/passwdand the person pressing submit.