.upload send variables

hey all,

using as2 to upload pictures to the server from flash using fileReference.upload. the script works fine, everything’s great except that i can’t send variables, which makes it impossible to tell php which directory to put the picture in, as well as which sql table to add the information to.

i tried adding “?memID=”+memID; to the query string:

var scriptLocation:String = “http://websiteurl/uploader.php”;

but that doesn’t seem to work with $memID = $_GET[“memID”]; in the php file.

any suggestions on how to associate a variable with the uploaded pictures?!?

thanks in advance,
omnislant