Update snippet.getids.php

Updated key elements of the code to allow the user to provide 'c0' as an argument of 'ids' and have the Snippet pull every ID in the tree as a starting point.