Ltes說我要複製從網站複製文本(HTTP:// www.example.com/ex)
想從其他網站一個specic文本在PHP
當我打開http:/ /www.example.com/ex它顯示此數據click here
我想複製每個文本後,在雙引號之間的MrsId(意思是我想複製MN4D/CN4D/MK4D/MO4D所有其他四個代碼從example.com/ex和每日這些代碼的變化)
和sotre在varible例如($ a = 'MN4D',$ b = 'CN4D',$ C ='MK4D '$ d =' MO4D」)
然後想用它作爲
$第一=的 'http:// www.example.com/?code=';
$ url =「{$ first} {$ a}」;
$ urll =「{$ firsts} {$ b}」;
$ urlll =「{$ firsts} {$ c}」;
$ urlllll = 「{$首創} {$ d}」;
$結果=的file_get_contents($網址);
$ results = file_get_contents($ urll);
$ resultss = file_get_contents($ urlll);
$ resultsss =的file_get_contents($ urllll);
回聲$結果;
echo $ results;
echo $ resultss;
echo $ resultsss;
我serching此代碼從1個月但我以前不獲得成功呢。
**非常感謝您** :) –