title: how to include php functions from another url (in php)
body: <p>I got two websites hosted by OVH</p>
  <ul>
  <li>websiteA</li>
  <li>websiteB</li>
  </ul>
  <p>I don't want to have to update same functions on every website.
  So I try to figure out the best ( clean / securiest ) way to call functions from websiteA to websiteB</p>
  <p>I saw the <code>&quot;allow_url_include = On&quot;</code> solution but everybody seems to put huge warnings with that solution.</p>
  <p>Is it the only way to proceed ( But I could be attacked if I'm not ultra focus on the security, right ) ?</p>
  <p>if no :</p>
  <ul>
  <li>Can I make an equivalent to <code>&quot;allow_url_include&quot;</code> but allowed to only connect my trusted server (and reject all other servers ) ?</li>
  <li>Can I somehow connect or merge my servers with OVH ( not the same hosting ) ?</li>
  <li>Should I abord that way of thinking ?</li>
  </ul>