Login

My Account My Donations Saved Posts Logout
Search Browse Upload Articles

Structured Array Function [Multiple File Uploads]

Posted 15th March by Marc Hinton

The function enclosed was written really quickly for a project I am working on at work. It allows data to be split in to separate arrays and processed one file at a time. By default, PHP will order multiple file uploads in to arrays like "size" and "name". When looping through files this is massively inconvenient. The function I have provided will convert these arrays in to "file1", "file2", etc.

And then rate...

1 2 3 4 5

Posts you might like:

Comments (0)

This post doesn't have any comments yet.