First of all, thank you in advance to anyone who will share their experiences with me. My problem is that I need to somehow get or download the html or php file from a link or URL using Delphi(Well preferably Delphi 6 or 7). for example, i need to get the content of "test01.html" from this link "http://www.test.com/test01.html". It's like I download a file via URL.
One more thing is that, if your way was to access the URL first, then you need to know this.
for example: link is "http://www.test.com/test01.html"
test01.html content: <script>$(document).ready(function() window.location.replace("http://www.test.com/test02.html");});
</script>
test02.html content: <?php echo "hello world"; ?>
from my example above relating to my problem, if your way was to access the URL first, then I should still get the content of test01.html
not the source of test02.html
.
This issue is actually not related directly to idhttp.Get function.
Thank You Very Much to AnyOne.
get .html or .php file from a url in delphi
391 views Asked by Francis Carillo At
0