Hi All,

Not sure if anyone can help, I know php but just started learning javascript, very basic, I am using a script for my site for uploading photos, JQuery File Upload Plugin Script - Uploadify I have it working fine but there is just one option I want to do and that is write to a text document the name of the picture, I know javascript cant itself write to a file but I was wondering if you can insert php in a javascript bit of code.

The documentation for uploadify says that its a funtion for the option here is the link to the documentation onComplete - Uploadify

and the exsample code they give is

Code:
    $('#file_upload').uploadify({
      'uploader'    : '/uploadify/uploadify.swf',
      'script'      : '/uploadify/uploadify.php',
      'cancelImg'   : '/uploadify/cancel.png',
      'folder'      : '/uploads',
      'multi'       : true,
      'onComplete'  : function(event, ID, fileObj, response, data) {
          alert('There are ' + data.fileCount + ' files remaining in the queue.');
        }
    });
I know the above exsample would put an allert box up but just wondered if there is a way to get the code to run some php

I hope this makes sence

Thanks in advance