0

when i put this returns ok

formData.append(fileType + '-uploadUid', 'jhhhh');
                formData.append(fileType + '-token', '1234');

but how do i pass the php values to jhhhh or 1234?

<input type="hidden" id="uploadUid"  value="<?php echo $sessionUid;?>" name="update_uid">
                        <input type="hidden" id="upload_token"   value="<?php echo $sessionToken;?>" name="update_token">
0

but how do i pass the php values to jhhhh or 1234?

No idea what you mean. The hidden fields should be passed by default with the other form data. Can't see why you need to make a special .append for it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.