java - 如何获取其他电脑上的图片路径
怪我咯
怪我咯 2017-04-17 11:50:08
0
1
416

有两台电脑上有Apache,上传照片时存储到A电脑,当访问时,可能由于压力等原因,在D电脑上访问上传的图片,这个要怎么写img才能显示照片

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
洪涛

First of all, you need to open up the file systems of the two servers, and then use the file system structure to access them.
To make it simple, you can synchronize the directories between A and B through Sync, and install the http server on the B server to directly request the file address to download.

TAG:NFS

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template