I have developped an external php program to generate a customized contact data-sheet (pdf).
This program must be run from a Civi Page via an URL which requires the current Contact_id as an argument, in the following way :
https://www.mysite.com/fpdf/myprogram.php?contact=current contact id
How can I get and must I parameterize this current contact id ?
As an alternative, I could use the Current Drupal User-Id instead of the Civi Contact-Id (the user is supposed to be authenticated, and I know how to convert user to contact)