Home  >  Q&A  >  body text

php 如何获取远程文件的修改时间?

php 如何获取远程文件的修改时间?

比如 http://www.test.com/img/test.png

伊谢尔伦伊谢尔伦2735 days ago770

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-11 10:42:49

    get_headers($url)
    然后取Last-Modified

    reply
    0
  • Cancelreply