Well, you'll have a function that moves the layers, right? So at the end of that function you'll have something like:
document.formName.fieldName.value = Xcoord + ',' + Ycoord;
where Xcoord and Ycoord are the variables for the coordinates.
Then your form field will be:
<form name="formName" action="script.php">
<input type="hidden" name="fieldName" />
<input type="submit" />
</form>
Now your PHP script will take
$fieldName, split in the comma, and you'll have the coordinates.
Diego