I have here snippets that upload image. Upload is successful, and what I want to do now is to send Id so that I can save it in my db.

<?php $id = $_GET['id'];?>

		var btnUpload=$('#me');\
		var mestatus=$('#mestatus');
		var files=$('#files');
		new AjaxUpload(btnUpload, {
			action: 'stud_image_act.php',
			name: 'uploadfile',
			onSubmit: function(file, ext){
				 if (! (ext && /^(jpg|png|jpeg|gif)$/.test(ext))){ 
                    // extension is not allowed 
					mestatus.text('Only JPG, PNG or GIF files are allowed');
					return false;
				mestatus.html('<img src="../images/ajax-loader.gif" height="16" width="16">');
			onComplete: function(file, response){
				//On completion clear the status
				mestatus.text('Photo Uploaded Sucessfully!');
				//On completion clear the status
				//Add uploaded file to list
					$('<li></li>').appendTo('#files').html('<img src="../upload/student_'+file+'" alt="" height="120" width="130" /><br />').addClass('success');
				} else{
My question is, Is there any place in my code to send the value of my $id above?