pulkit Posted October 26, 2005 Share Posted October 26, 2005 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 Link to comment Share on other sites More sharing options...
markw Posted November 2, 2005 Share Posted November 2, 2005 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 Link to comment Share on other sites More sharing options...
Rhelic Posted November 15, 2005 Share Posted November 15, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now