I would like to browse to a url eg http://mysite.com/index.html and dump the content of that site in a variable eg $htmlDump?
Anyhow, the PHP for this is very simple - you can just use the file_get_contents function like this:
<?php
$blah = file_get_contents("the-url-goes-here");
//$blah now contains the content of that web page
?>
Comment on this Question and Answer >>>
ASK A QUESTION
More website PHP Questions
How can I access information sent through POST on a form?How do I perform a 301 redirect with PHP?
how can i add a chatbox to my site?
how to get gmail inboxmessages in php using username and password
Can you write the PHP for my website for me?
