Hi there,
I need some help with the javascript placement for the security token...
this is the code
PHP Code:
<script>
var r = new Resumable({
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
throttleProgressCallbacks:1
});
I think this is the code i need to put in...
PHP Code:
SESSIONURL + 'securitytoken=' + SECURITYTOKEN + '&foo=' + foo);
not 100% though...
thanks all.
Mick
--------------- Added [DATE]1433241894[/DATE] at [TIME]1433241894[/TIME] ---------------
I tried this
PHP Code:
<script>
var r = new Resumable({
sessionurl:SESSIONURL,
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
securitytoken:SECURITYTOKEN,
throttleProgressCallbacks:1
});
But this does not work, When I turn on CRSF at the top of the file - nothing uploads.