Friends, help me to see this code how the second input does not show the value? Thank you
$urlfrom =$_server[' Http_referer '];
?>
Reply to discussion (solution)
Http_referer doesn't always exist.
Print it out, you know.
I use the other domain name to connect over the time of the test. But
Urlfrom can fetch a value, and
Input doesn't show.
HTTP Referer is part of the header, and when the browser sends a request to the Web server, it usually takes referer to tell the server which page link I took from, and the server can get some information for processing.
Can be seen
1, if not the link, there is no
2, although the general will take, but also can not take
HTTP Referer is part of the header, and when the browser sends a request to the Web server, it usually takes referer to tell the server which page link I took from, and the server can get some information for processing.
Can be seen
1, if not the link, there is no
2, although the general will take, but also can not take
Up the pose.
Var_dump ($urlfrom); Look
The ideas upstairs are right.
I should simplify the problem so that I can really solve my problem: input does not show $urlfrom value, please advise.
$urlfrom = "BBBB";
?>