Dear Friends
I want send two values by post params:
First a url variable:
<?php $_GET["group"]; ?>
Second a field form SELECT: less "<>"
select name="AREA" id="areaproj"
option Select.... /option
option value="ANT" ANT /option
option value="IMG" IMG /option
/select
this 2 values, i want send in post _params, please you can helpme, showme the way to make this operation, i tried some options without good results.
Thanks!!
April 27, 2010 - 10:05am
Use the uploadStart event.
In uploadStart call the addFileParam method to add the current value of your select box to the file that is about to upload:
function uploadStartHandler(file) {
this.addFileParam(file.id, "paramName", document.getElementById("areaproj").value);
}
May 10, 2010 - 11:58am
hi there everyone!
i'm pretty excited 'bout this script and wanna get more and more from this.
i think this topic is the nearest from my problem, but i'm little rookie in ajax so i write here with hope to solve the problem.
i wanna use my swfupload to upload images through category.
the category list is genereted from mysql into drop-down select form and when i choose category from i want to upload images to selected category (which will be a folder with the same name as in select option and insert information into mysql db)
is there anybody who can tell me how to do this solution without reload the page with swfupload.
which code put where?
i only modify the upload-file.php and add 2 lines about inserting into mysql. please help!
cheers