Forum Moderators: coopster
I'm trying to create a webpage where I can input a URL to a form. The page will then grab the html of the URL and put it in a mysql database.
I'de like to just make it clear that I am not at all trying to steal content. I'm trying to build a small searchable directory of websites. I need the html to search through.
I'm doing this for a friend, and unfortunately his site is on a linus server, so this particular part of the site has to be done in php - which I do not know...
Any help will be greatly appreciated. I really hope someone can help me with this.
thanks.
This is only if allow_url_fopen [us3.php.net] is enabled. If not, you must set it to 1 in your php.ini file.
Also, file_get_contents [us3.php.net] is another way to get your content.
Best of luck!