for example , a page's code is:
when i use open every page, the code will become :
<div id="content"><center></center><img src="*.gif"></div>
and i can successfully donwnload the image,but it's tooooo slow.
when i choose use internal download code, the code doesn't change,but when i open the page from OEE,it show a error icon. when i check its properties,it shows http://127.0.0.1:800/*/*.gif, but actually the image was not downloaded.
How can i do?
But i want to explain detailedly:
for example, the server's file is :
the page's code is:
the php's code is:
var rptxt="/1.gif";rptxt=rptxt.replace(/%_%/g,2);rptxt=decodeURIComponent(rptxt);rptxt=rptxt.replace(/img_src/g,"img src");document.getElementById("content").innerHTML = rptxt;
when i use "open every page" to download the page,it's code will be:
in this situation the 1.gif can be successfully downloaded and the page can be showed correctly.
when i use the "intranet download code" to download the page,it's code will not change:
in this situation the 1.gif didn't be downloaded and the page can't be showed correctly with a small ico included a "X"
you can have a try to find what happen.
is this a bug?
so i ask how to download the picture in php.
But i think that it's an easy thing for you to set a local server to do it.
I will see what is wrong there.
maybe it doesn't meet your need.
i think that the problem is the original page will be changed when loaded the php so the changed page will be opened again to get the image, but OE doesn't do this like a normal browser.
i use chrome's developer tools to check the network and find that the original page will be loaded twice.
besides, i have used "download the missing files", but it doesn't work, too.that is say the .gif was still not be downloaded.
more besides, do your website have some problems? i can't post my reply just now.