yrstruly Posted March 24, 2009 Share Posted March 24, 2009 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 More sharing options...
jeffman Posted March 24, 2009 Share Posted March 24, 2009 Get to know your manual: http://us2.php.net/manual/en/features.file...post-method.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.