js / php 网站底部版权文字自动改变年份
JS
<script>document.write(new Date().getFullYear());</script>
PHP
<?php echo date("Y");?>
举例
Copyright © <script>document.write(new Date().getFullYear());</script> <a href="http://www.chillifish.cn">辣椒小鱼の博客</a> All Rights Reserved.
THE END
0
二维码
打赏
海报
![](http://www.chillifish.cn/wp-content/uploads/2018/03/WeiXin_Shoukuan_G.png)
![](http://www.chillifish.cn/wp-content/uploads/2018/03/ZhiFuBao_Shoukuan_G.png)
js / php 网站底部版权文字自动改变年份
JS
<script>document.write(new Date().getFullYear());</script>
PHP
<?php echo date("Y");?>
举例
Copyright © <script>document.……
![](http://www.chillifish.cn/wp-content/uploads/2018/03/logo_G.png)
文章目录
关闭
共有 0 条评论