Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道在给出的结果的开头附加一串文本
file_get_contents
就我而言
$file = file_get_contents($url);
你可以这样做——
$file = "Some text content".file_get_contents($url);