简体   繁体   English

使用平板电脑中的 PHP 从一个屏幕重定向到另一个屏幕时页面变为空白

[英]Page get blank when redirect from one screen to another using PHP in Tablets

I am using PHP and using the below line of code for redirection but the time page goes blank is there anything update or am I making any mistake please help me.我正在使用 PHP 并使用下面的代码行进行重定向,但时间页面变为空白是否有任何更新或我犯了任何错误,请帮助我。 This only happens in Tablets.这只发生在平板电脑中。

<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">

redirect in php在 php 中重定向

<?php 
header("Location: https://google.com");
die();
?>

or if you really want just to reload the current page.this code reload it every 5 seconds或者如果您真的只想重新加载当前页面。此代码每 5 秒重新加载一次

<?php 
header("Refresh:10");
die();
?>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM