Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not really clear on where you are running into a problem. 'that variable' will be the files you uploaded, yes? Create an array of the filepaths as they get uploaded and when the upload is done cycle through each for email attachment. Have you checked other answers on the site? Maybe take a look <a href="https://stackoverflow.com/questions/3079325/php-send-multiple-attachments-with-email">here</a>. But <a href="http://ellislab.com/codeigniter/user-guide/libraries/email.html" rel="nofollow noreferrer">CI's documentation</a> clearly states that you can use: </p> <pre><code>$this-&gt;email-&gt;attach('/path/to/that_file.jpg'); </code></pre> <p>multiple times.</p> <h2><strong>Update:</strong></h2> <p>You can either try using the onUploadSuccess function in uploadify to append each file name to something that you can use later...</p> <pre><code> 'onUploadSuccess' : function(file, data, response) { alert('The file name is ' + file.name); ... </code></pre> <p>OR from within uploadify.php. From there you can store what you need for attaching after. </p> <p><strong>In your case I'd stick with modifying the uploadify.php</strong>. You'll have to give it a shot and post some code if you are stuck, but there are plenty of places to get some ideas like <a href="https://stackoverflow.com/questions/7363317/uploadify-rename-uploaded-file">here</a> and <a href="http://www.uploadify.com/documentation/uploadify/customizing-the-server-side-upload-script/" rel="nofollow noreferrer">here</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload