passing php variable to javascript syntax issue
<p>trying to upload pictures to a users folder /uploads/$uid i think i have the variable syntax right maybe the syntax in file path is incorrect /uploads/user/  </p>

<pre><code>(function($){
   $.simpleuploader = {version: '0.1'};
  $.fn.simpleuploader = function(options){
    // the container to inject the form into
    var $this = $(this);

    var user = '&lt;?php echo $uid; ?&gt;'; //is users id from session

    // set defults
    var defaults = {
        prefix: 'simpleuploader-',
        latency: 500,
        reuse: true,
        when: 'onchange',
        submitText: 'Submit',
        disabledOpacity: .3,
        settings: {
            fullPath: 'http://www.mysite.com/image_upload/uploads/user/',
            relPath: '../uploads/user/',

        },
</code></pre>
