Sending Addition Info To uploadUrl

  •  09-23-2011, 12:27 PM

    Sending Addition Info To uploadUrl

    This is what I currently have:
     
    $uploader = new PhpUploader();
    $uploader->MultipleFilesUpload = true;
    $uploader->InsertText = "Upload Pictures";
    $uploader->MaxSizeKB = 10240;
    $uploader->AllowedFileExtensions = "*.jpg,*.png,*.gif,*.bmp,*.psd";
    $uploader->InsertButtonID = "picUpload";
    $uploader->UploadUrl = "ur_pic_upload2.php";
    $uploader->Render();
     
    What I need, is for more information to be posted to ur_pic_upload2.php. For example, I need to send it an ID number when a picture is uploaded. In a form, I would just go:
    <input type="hidden" name="var" value="1838540"> 
View Complete Thread