Because there is $_SERVER["SCRIPT_NAME"], what should I do if this program file name always appears in the domain name when using paging? www.abc.com/123.php?page=1&num=2
I don’t want 123.php to appear. What should I do? Is it possible to use url rewriting in IIS? But I have never used url rewriting. Is there any other way?
<code>echo '<li>|<a href="'.$_SERVER["SCRIPT_NAME"].'?page='.$pagenum.'&num='.$num.'">尾页</a></li>';</code>
Because there is $_SERVER["SCRIPT_NAME"], what should I do if this program file name always appears in the domain name when using paging? www.abc.com/123.php?page=1&num=2
I don’t want 123.php to appear. What should I do? Is it possible to use url rewriting in IIS? But I have never used url rewriting. Is there any other way?
<code>echo '<li>|<a href="'.$_SERVER["SCRIPT_NAME"].'?page='.$pagenum.'&num='.$num.'">尾页</a></li>';</code>
http://php.net/manual/en/rese...
See if what you want is HTTP_REFERER