How do you get a group URL in PHP?

Let’s say you have the form below – it has a multiple-file widget with fixed-aspect crop and client-side image resize.

<form method="POST" action="process.php">
  <?php
    echo $api->widget->getInputTag('qs-file', array( "data-crop" => "4:3", "data-images-only" => "true" ,"data-image-shrink"=>"1024X1024"));
  ?>
</form>

Then your process.php should contain code that retrieves group URL similar to this:

<?php 
   $file_group_id = $_POST['qs-file'];
   $fileGROUP = $api->getGroup($file_group_id);
   $fileGROUP->data['url'];
?>