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.
I'd be able to do this in asp with an HTTP get - but on a linux server, this is a no go... It must be possible to put all the html into a variable and then put it in the data base. I just need to make this one page in php - the rest I can figure out by myself how to do in asp. I can do the database bit, but I have no idea how to get the html from the remote webpage into a variable. Come on folks - show me why php is better than asp ;)