Chikwado Posted April 2, 2015 Share Posted April 2, 2015 How to make multiple fileupload, I have 2 html file, The first one has 10 field the other has one field. Then, I am thinking which one to add my php script, I am planning to add loop in my script. Although in scripting language, it was said that crafting something repeatedly it would be better to use loop. In those 2 html file which one do I have to add my script, I am planning to test it with loop. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 2, 2015 Share Posted April 2, 2015 There's a section here about it:http://php.net/manual/en/features.file-upload.multiple.php Link to comment Share on other sites More sharing options...
sandeepm Posted April 3, 2015 Share Posted April 3, 2015 i need a code for delete option for the uploaded files please Link to comment Share on other sites More sharing options...
Ingolme Posted April 3, 2015 Share Posted April 3, 2015 You can delete saved files using the unlink() function. I would be careful with giving users direct access to it because they could use it to delete your whole website. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now