Multiple File upload help in php

3 replies
Hello People

Can anyone tell me how can I upload multiple files using php script?

I have made script which is uploading simple file, i have taken from w3school, but how can i upload multiple files?
#file #multiple #php #upload
  • Profile picture of the author brucaSEO
    Hiii,
    I use Dreamweaver so i am giving you the idea about it.

    Open Dreamweaver -> Choose PHP -> Then you will see a blank page with HTML codes
    go to Insert Option above and insert a Form in it.

    Now below you will see the property option in that you will see a property Enctype click that and select multipart/form-data.

    Now add various controls in your form your are done with multiple file upload.
    {{ DiscussionBoard.errors[5037454].message }}
    • Profile picture of the author seomagic
      Originally Posted by brucaSEO View Post

      Hiii,
      I use Dreamweaver so i am giving you the idea about it.

      Open Dreamweaver -> Choose PHP -> Then you will see a blank page with HTML codes
      go to Insert Option above and insert a Form in it.

      Now below you will see the property option in that you will see a property Enctype click that and select multipart/form-data.

      Now add various controls in your form your are done with multiple file upload.
      I have already kept control from dreamweaver, say 5 file controls are placed but how to code after posting data?
      {{ DiscussionBoard.errors[5037528].message }}
  • Profile picture of the author eminc
    How about this tutorial?

    PHP Multiple files upload

    If you want multiple upload boxes added on the fly, it involves a small piece of javascript code to insert HTML inside a form element or a div.


    Mohit
    {{ DiscussionBoard.errors[5043171].message }}

Trending Topics