可能重複包括:
including php file from another server with php腓從另一個域
<?php include('http://www.staticimages.co/legal-documents/fonts.php');?>
我想集中一個文件,我將包括在幾個不同的領域。 我有一個位置,但我不確定如何包含該文件。 我試過上面的(這是正確的URL),但我得到以下錯誤;在包含C:\ wamp \ www \ flirtwithme.co \ includes \ legal \ dating-safety-在線15 tips.php
有沒有一個首選的方法來做到這一點? 也許捲曲?
THX