By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

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

P: 170
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...
Feb 19 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 4,258
This is a double thread posting! Double threads will be removed

You already had this question in your thread at

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

Feb 19 '07 #2

P: 170

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...
Feb 20 '07 #3

Expert 2.5K+
P: 4,258
No problem.

Feb 20 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.