can i upload without an upload (browse) input box?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beary
    New Member
    • Nov 2006
    • 170

    #1

    can i upload without an upload (browse) input box?

    Sorry if this seems like a stupid question, but...

    The script I am currently using puts a number of input type=file boxes on the page, and then loops through and processes each uploaded file. It works perfectly.

    However, each time I want to upload many files, I need to manually click Browse and select each file. This is annoying. I'm trying to find some way of using php to automatically upload the same set of files each time (as often as I want). Is it possible to somehow store the filenames (which never change) in an array and just get the loop to get the files from the array?

    Or does file upload, by definition, need to have the upload/browse box? (which would mean I'm stuck doing it manually)

    Any answers appreciated...
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    This is a double thread posting! Double threads will be removed

    You already had this question in your thread at http://www.thescripts.com/forum/thread603549.html

    And that post was answered. So why are you asking the same question again here? Do you think we have nothing else to do?

    moderator

    Comment

    • beary
      New Member
      • Nov 2006
      • 170

      #3
      Moderator,

      I'm sorry that this appears to be a double posting. I actually counted it as a different question to the first. But evidently you didn't, which , as moderator, is what really matters. And now that I've looked back at the first post, I agree: it is double. So I apologise. Please remove the double post.

      I guess that also answers your question as to why? I didn't initially consider it to be the same question...

      As to your other question... I've never really thought about whether you had other things to do, since I assume you're all extremely busy people like I am. The last thing I'd want is to make you cranky due to double postings....

      Please accept my apologies...

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        No problem.

        moderator

        Comment

        Working...