图片解决办法

WBOY
Release: 2016-06-13 12:00:24
Original
797 people have browsed it

图片
网站里图片怎么命名,怎么保证不被替换。
------解决方案--------------------
先往数据库图片表里插入图片数据(除了图片地址),此时可以获得一个自增id,用这个自增id作为图片名,不会重复,图片处理完毕后,再更新图片表里的图片地址

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template