i'm implementing some upload script with Uploadfy on my site.
This is the script sample i have in PHP:
<script type="text/javascript">
<?php $timestamp = time();?>
$(function() {
$('#file_upload').uploadify({
'formData' : {
'timestamp' : '<?php echo $timestamp;?>',
'token' : '<?php echo md5('unique_salt' . $timestamp);?>'
},
'swf' : 'uploadify.swf',
'uploader' : 'uploadify.php',
'onUploadSuccess' : function(file, data, response) {
alert('The file was saved to: ' + data);
}
});
});
</script>
But i want this working in classic ASP!
I know i need to change these lines to make this work:
'formData' : {
'timestamp' : '<?php echo $timestamp;?>',
'token' : '<?php echo md5('unique_salt' . $timestamp);?>'
},
But i don't know how to change this to classic ASP. What i need to do??