asp:
js:Just
php:
Note the premise of getting the previous page, which is usually connected through a, and direct input is useless.
Copy the codeThe code is as follows:
<a href="<%=("Http_REFERER")%>">preivous page</a> Or use pictures such as: <img src=http:///Get/asp/00010006/"" alt="<%=("HTTP_REFERER")%>">
js:Just
php:
Copy the codeThe code is as follows:
$url=$HTTP_SERVER_VARS["HTTP_REFERER"];
if($url) {
$url_resource=$url;
}
else{
$url_resource="Enter directly from the browser";
}
if($url) {
$url_resource=$url;
}
else{
$url_resource="Enter directly from the browser";
}
Note the premise of getting the previous page, which is usually connected through a, and direct input is useless.