<h3>温馨提示:</h3> <table class="table table-striped table-bordered table-hover"> <tr> <td align="center" bgcolor="#FFFFFF"> <br/> <font color="red"><?php echo $msg; ?> </font> <br/> <?php if (empty($jumpurl) || $jumpurl == '') { ?> <br/> <a href="<?php echo Request::getRefererUrl(); ?> ">[如果您的浏览器没有自动跳转,请点击这里 返回上一页]</a> <script type="text/javascript"> setTimeout("<?php echo empty($target) ? '' : 'parent.parent.'; ?> location.href='<?php echo get_referer_url(); ?> '",<?php echo $ms; ?> ); </script> <?php
/** * 初始化Http请求参数... */ protected static function _initRequestParam() { //定义详细请求路径及参数 define('REQUEST_URI', Request::getFullPath()); //定义客户端IP define('CLINET_IP', Request::getClientIP()); //服务器名称 define('SERVER_NAME', Request::getServerName()); //前一跳转地址 define('HTTP_REFERER', Request::getRefererUrl()); }