Jump to content

Html Script/verify


yrstruly
 Share

Recommended Posts

Hallo Can somebody please help me.I need to write the following:Create an HTML page with a form that has a file browse input, and a submit button.Once a file is selected and the form is submitted, the script needs to check the file type. If the file is a plain text file, then the file must be uploaded (saved to the scripts folder, or a subfolder if you wish), and a link to open the file must be displayed on screen. If the file is NOT a plain text file, then the file must not be uploaded, and an error must be shown, allowing the user to try again.The problem is, i have no idea how to do this. Is there somebody who can help and who can also direct me to resourcess with the codes like these please?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...