it's a bit hard to explain, but here's what i want to do:
here's what i want to do:
1.) Visit a webpage
2.) copy everything on that page and rename it as file.html
i actually want to do this on my page. I want the page to load then somehow copy the html code and write it into a file.
is it possible to do this? can i do something like this:
$source = file_get_contents("http://www.mysite.com/money.php");
then do
fwrite($source).....
would something like that work?




(along with the fopen etc..)

Bookmarks