for example , a page's code is:
<div id="content"></div><script type="text/javascript" src="/*.php?aid=*&cid=*"></script>
</div>
when i use open every page, the code will become :
<div id="content"><center></center><img src="*.gif"></div>
</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?
Thank you!
Best regards,
Oleg Chernavin
MP Staff
But i want to explain detailedly:
for example, the server's file is :
/1.html
/1.gif
/1.php
the page's code is:
<div id="content"></div><script type="text/javascript" src="/1.php?*"></script>
</div>
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:
<DIV id=content>
<IMG src="/1.gif"></DIV>
</DIV>
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:
<div id="content"></div><script type="text/javascript" src="/1.php?*"></script>
</div>
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.
Oleg.
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.
Thank you!
Oleg.
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.
Oleg.