I got a html5 upload script from http://tutorialzine.com/2011/09/html5-file-upload-jquery-php/
can i pass php variable to js? in this html5 upload script the script.js call the post_file.php to upload file in post_file.php
$rand = time();
i set the rand is the filename for example uploaded filename: 1331956640.jpg
can i pass this $rand to script.js? because i can't print the result in php, only can print something in script.js
this is the html5 upload script download link from tutorialzine enter link description here
sorry my english not good, thank