<?php
$url = 'https://tixing.xxlht.com/bb/js/js/data.dat';
// 使用 file_get_contents 获取文件内容
$fileContent = file_get_contents($url);
if ($fileContent === false) {
echo "无法获取文件内容。";
} else {
// 检查内容中是否包含 'http'
if (strpos($fileContent, 'http') !== false) {
echo "文件内容包含 'http'。";
} else {
echo "文件内容不包含 'http'。";
}
}