title: about pass php variable to javascript
body: <p>I got a html5 upload script from
  <a href="http://tutorialzine.com/2011/09/html5-file-upload-jquery-php/" rel="nofollow">http://tutorialzine.com/2011/09/html5-file-upload-jquery-php/</a></p>
  
  <p>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</p>
  
  <pre><code>$rand = time();
  </code></pre>
  
  <p>i set the rand is the filename
  for example uploaded filename: 1331956640.jpg</p>
  
  <p>can i pass this $rand to script.js?
  because i can't print the result in php, only can print something in script.js</p>
  
  <p>this is the html5 upload script download link from tutorialzine
  <a href="http://demo.tutorialzine.com/2011/09/html5-file-upload-jquery-php/html5-file-upload.zip" rel="nofollow">enter link description here</a></p>
  
  <p>sorry my english not good, thank</p>