pulkit
Oct 26 2005, 07:34 AM
Is it possible to store some web pages whose addresses are mentioned before in an order.
I mean if i enter some 100 web addresses before i want the PHP script to store them in a database automatically by visiting the site.
Pls help me and tell me the function or script
markw
Nov 2 2005, 10:03 AM
Well you could use the
function file_get_contents() and pass it a url and get the html in a string. Then you could save the string in a database. The only problem is it wouldn't download the pictures, but you could make a script that parses the html and finds the <img> tags and gets the images based on that.
Mark
Rhelic
Nov 15 2005, 02:28 PM
Stealing content from other sites is immoral, let's just get that out of the way. I'm trying to give you the benefit of the doubt but I've read your other posts and it sounds like it's pretty clear that you want to start a new site and steal content from other similar sites.. tsk tsk, smells like a thief.