title: Passing variables to JavaScript inside a URL?
body: <p>I'm dealing with a web-service that serves video files (host). They provide you with a Guid which is used in an embed code (link to js file).</p>
  
  <p>Their URL's are structured like this:</p>
  
  <p><a href="http://www.foo.com/34534525lsjda345435/script.js" rel="nofollow">http://www.foo.com/34534525lsjda345435/script.js</a></p>
  
  <p>Somehow, the script.js parses this URL and retrieves the variable. Can someone clue me in how this is done?</p>
  
  <p>What kind of script runs on the server-side to respond to these requests? After all, the string in the URL doesn't really refer to a real directory, or does it?</p>
  
  <p>Any help/insights would be appreciated.</p>