开发者社区> 问答> 正文

OSS支持php跳转代码吗?



OSS支持php跳转代码吗?


我把文件传到oss怎么不跳转啊?
传到其他服务器都可以的。
<!DOCTYPE html>
<html>

    <head>
        <meta charset="gb2312">
        <meta http-equiv="refresh" content="2;url={phpurl}">
        <title>{a5title}</title>
        <style type="text/css">
            html {
    font-size: 100%;
}
body {
    font-size: 1em;
    background: #ccc;
    margin: 0;
}
a{text-decoration: none;}
h1 {
    font-size: 1.15em;
    float: left;
    width: 100%;
}
h1 a{color:#000000;}
h1 a:hover{text-decoration: underline;}
.wrap {
    width: 41.25em;
    height: auto;
    margin: 0 auto;
}
.wrap_body {
    width: 100%;
    height: auto;
    float: left;
    background: #ffffff;
    padding: 1em;
}
span {
    font-size: 0.8em;
    color: #999999;
    width: 100%;
    margin-top: 0.1em;
    float: left;
}
.price_text {
    width: 20em;
    height: auto;
    float: left;
    margin-top: 1em;
    border: 0.062em solid #cccccc;
    background: #fdfbe6;
}
.price_text .prices {
    font-size: 1em;
    font-weight: bold;
    color: #999999;
    width: auto;
    float: left;
    line-height: 1em;
    margin: 1.5em;
}

.shopping {
    font-size: 0.85em;
    color: #666666;
    width: auto;
    float: left;
    line-height: 1em;
    margin: 1.5em;
}
.buy {
    font-size: 1em;
    color: #FFFFFF;
    width: 6.25em;
    font-size: 1.25em;
    font-weight: bold;
    padding-top: 0.65em;
    padding-left: 2em;
    height: 1.5em;
    float: left;
    line-height: 1em;
    margin: 1em;
    margin-left: 3em;
    background: #E02F2F;
    border-right:0.068em solid #CCCCCC;
    border-bottom: 0.068em solid #CCCCCC;
}
.buy a{color: #FFFFFF;}
.buy a:hover{text-decoration:underline;color: #FFFFFF;}
        </style>
    </head>

    <body>
        <div class="wrap">
            <div class="wrap_body">
                <h1>正在为您打开:<a href="{clickurl}" target="_self">{a5title} </a></h1>
                <span>分类:{a5fenlei}  </span>
                <div class="price_text">
                    <div class="prices">原价:<strike>{a5yuanjia}</strike>
                        <br />
                        <br />现价:<font color="#E02F2F" size="5">{a5now}</font></div>
                    
                </div>
                <div class="shopping">进入店铺可以查看评价和更多宝贝信息</div>
                <div class="buy"><a href="{clickurl}" target="_self">立即购买</a></div>
            </div>
        </div>
    </body>

</html>


展开
收起
liqu12511 2014-11-01 17:46:12 6978 0
2 条回答
写回答
取消 提交回答
  • 2014-11-01 23:32:54
    赞同 展开评论 打赏
  • oss 可以放静态文件
    php asp aspx 都不行
    2014-11-01 21:30:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PHP 2017.北京 全球开发者大会——高可用的PHP 立即下载
PHP安全开发:从白帽角度做安全 立即下载
复杂PHP系统性能瓶颈排查及优化 立即下载