如何获得图像在特殊的URL

如何获得图像在特殊的URL

本文介绍了如何获得图像在特殊的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到过一个网址,例如 (即:domain.com/23234234/0至domain.com?id=23234234&nr=0)

  • 拨打要求档案ID为23234234的资料库


    1. Rewrite URL with mod_rewrite (i.e.: domain.com/23234234/0 to domain.com?id=23234234&nr=0)
    2. Make a call to the database requesting the file with id 23234234
    3. Show it to the user changing the content-type of the file you are showing

    这是你在找什么?

    这篇关于如何获得图像在特殊的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    08-26 15:51
    查看更多