Start using the following jump:
echo "<script> alert('sucess');parent.location.href='/user/index'; </script>";
Alert contains the prompt message, and href is the page to jump to after the prompt.
Later I remembered that there is a redirect() redirection method in the TP framework, so I went to take a look.
However, TP does not come with a pop-up window, so it was modified to:
<span $url="http://www.jbxue.com";</span>
<span echo</span> "<script> alert('no loginid'); </script>"<span>; </span>
<em id="__mceDel"><span echo</span> "<meta http-equiv='Refresh' content='0;URL=<span $url</span>'>";</em>
Two direct jump methods:
<span header</span>("Location:".PSYS_BASE_URL."user/index"<span ); 和 </span><span header</span>("refresh:{<span $time</span>};url={<span $url</span>}");
Finally, there is another problem. The jump code is always followed by a return, because the following statements will also be executed.