Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I send params with Uploadify?
    primarykey
    data
    text
    <p>I'm trying to replace SWFUpload in Wordpress with Uploadify, because it's seems more customize friendly and easier to work with.</p> <p>Now, I've understand that Wordpress sends some data for a server validation when uploading files. I'm curious how I can use this data in my Uploadify form, to replace Wordpress' own upload form.</p> <p>This is an example of an upload form from Wordpress:</p> <pre><code>&lt;object width="132" height="23" class="swfupload" data="http://xxx.com/wp-includes/js/swfupload/swfupload.swf?preventswfcaching=1300750794560" type="application/x-shockwave-flash" id="SWFUpload_0"&gt; &lt;param value="window" name="wmode"&gt; &lt;param value="http://xxx.com/wp-includes/js/swfupload/swfupload.swf?preventswfcaching=1300750794560" name="movie"&gt; &lt;param value="high" name="quality"&gt; &lt;param value="false" name="menu"&gt; &lt;param value="always" name="allowScriptAccess"&gt; &lt;param value="movieName=SWFUpload_0&amp;amp;uploadURL=http%3A%2F%2Fxxx.com%2Fwp-admin%2Fasync-upload.php&amp;amp;useQueryString=false&amp;amp;requeueOnError=false&amp;amp;httpSuccess=&amp;amp;assumeSuccessTimeout=0&amp;amp;params=post_id%3D3562%26amp%3Bauth_cookie%3Dadmin%257C1301439526%257C5e5e63158e880597c782656a719f1738%26amp%3Blogged_in_cookie%3Dadmin%257C1301439526%257Ce01206ec12b5cee4a605f9abff385cc0%26amp%3B_wpnonce%3Dc52b08b0ce%26amp%3Btype%3Dimage%26amp%3Btab%3Dtype%26amp%3Bshort%3D1&amp;amp;filePostName=async-upload&amp;amp;fileTypes=*.*&amp;amp;fileTypesDescription=All%20Files&amp;amp;fileSizeLimit=4194304b&amp;amp;fileUploadLimit=0&amp;amp;fileQueueLimit=0&amp;amp;debugEnabled=false&amp;amp;buttonImageURL=http%3A%2F%2Fxxx.com%2Fwp-includes%2Fimages%2Fupload.png%3Fver%3D20100531&amp;amp;buttonWidth=132&amp;amp;buttonHeight=23&amp;amp;buttonText=%3Cspan%20class%3D%22button%22%3ESelect%20Files%3C%2Fspan%3E&amp;amp;buttonTextTopPadding=3&amp;amp;buttonTextLeftPadding=0&amp;amp;buttonTextStyle=.button%20%7B%20text-align%3A%20center%3B%20font-weight%3A%20bold%3B%20font-family%3A%22Lucida%20Grande%22%2CVerdana%2CArial%2C%22Bitstream%20Vera%20Sans%22%2Csans-serif%3B%20font-size%3A%2011px%3B%20text-shadow%3A%200%201px%200%20%23FFFFFF%3B%20color%3A%23464646%3B%20%7D&amp;amp;buttonAction=-110&amp;amp;buttonDisabled=false&amp;amp;buttonCursor=-1" name="flashvars"&gt; &lt;/object&gt; </code></pre> <p>Now, I'm guessing this form data gets generated here: <a href="http://pastie.org/private/dxuytcqhu7b9odfhkwug" rel="nofollow">http://pastie.org/private/dxuytcqhu7b9odfhkwug</a> (Entire code here: <a href="http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-admin/includes/media.php.source.html" rel="nofollow">http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-admin/includes/media.php.source.html</a> begins around line 1494)</p> <p>But besides that I'm pretty clueless. How do I send the needed params through Uploadify? Scriptdata? Which params are needed? Is this even possible?</p>
    singulars
    1. This table or related slice is empty.
    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