ホームページ >バックエンド開発 >PHPチュートリアル >PHP の規則性と Web ページからの指定されたコンテンツの抽出に関連する問題。
php 通常
PHP 通常および Web ページからの指定されたコンテンツの抽出に関する質問。アドバイスを求めてください! !
$content = '<META name="httpfileurl" content=" http://stor.vdisk.cn/loadfile/C8/CE8%B5%84%E6%BA%90%E7%9B%92%E4%BD%BF%E7%94%A8%E6on%95%99%E7%A8%8B.mp4">'; $content = preg_match("|content=\"(.*)\"|",$content,$match); echo($match[1]);
$content = '<META name="httpfileurl" content=" http://stor.vdisk.cn/loadfile/C8/CE8%B5%84%E6%BA%90%E7%9B%92%E4%BD%BF%E7%94%A8%E6on%95%99%E7%A8%8B.mp4">'; $content = preg_match("|content=\"(.*)\"|",$content,$match); echo($match[1]);
れーれー
コードは次のようになります
5cc1b1d300bdef0e048e245856f58829
cd7bb4cd6723abce7bdbdea0ff78206f
$content = '<META name="httpfileurl" content=" http://stor.vdisk.cn/loadfile/C8/CE8%B5%84%E6%BA%90%E7%9B%92%E4%BD%BF%E7%94%A8%E6on%95%99%E7%A8%8B.mp4">'; $content = preg_match("|content=\"(.*)\"|",$content,$match); echo($match[1]);