1.设置页面的格式:
header('Content-Type:text/xml');
2.为了能够及时更新,需要设置php页面不能进行页面缓存
header("cache-control:no-cache,must-revalidate");
1.设置页面的格式:
header('Content-Type:text/xml');
2.为了能够及时更新,需要设置php页面不能进行页面缓存
header("cache-control:no-cache,must-revalidate");