php:
header("Location: ".$_SERVER['HTTP_REFERER']);
js:
window.location.href=document.referrer;
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/215274.html原文链接:https://javaforall.net
跳转到上一个页面(PHP+js)php header Location SERVER HTTP REFERER js window location href document referrer
php:
header("Location: ".$_SERVER['HTTP_REFERER']);
js:
window.location.href=document.referrer;
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/215274.html原文链接:https://javaforall.net