title: Jquery File Upload plugin: Dynamically change upload path?
body: <p>I'm trying to use the blueimp <a href="http://blueimp.github.com/jQuery-File-Upload/" rel="nofollow">Jquery File Upload plugin</a> for the project I'm currently working on. It suits my needs perfectly, with one problem: I need to be able to change the path of the uploads, based on a GET variable on the page that contains the plugin. Basically, I'm using it as an image manager for a collection of vehicles, and I want it to connect to a separate folder for each vehicle.</p>
  
  <p>I've been looking through the documentation and googling, and I've found the way to change the default directory (by modifying upload.class.php) but since I need this to be dynamic, that doesn't work.</p>
  
  <p>I figure there has to be a way to add a POST variable to the ajax calls which activate the php scripts, but I can't even find out where those ajax calls are. I can't even find a reference to either of the php files (index.php and upload.class.php) throughout the code.</p>
  
  <p>Any ideas on how to accomplish this? </p>