How to include an external PHP script?
If that's your code, transform it into Drupal custom module. If you want use PHP API delivered by external service - transform it into library (move code into  sites/all/libraries/yourLibrary) and write custom module which loads files on demand (with Libraries API).