php跳转页面
echo "<!DOCTYPE html><html>head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"></head><script language=\"javascript\">";
echo "alert('".$str."');location.href=\"{$url}\"";
echo "</script></html>";
header('Location: http://www.example.com/');