Re: affiliate site
Y A <[email protected]> Thu, 16 Feb 2023 04:49:56 -0800 (PST)
| Newsgroups | comp.lang.php |
|---|---|
| Message-ID | <[email protected]> |
You have looked out: http://webchatsoftware.ezyro.com ? On Thursday, March 31, 2016 at 12:29:15 PM UTC+2, bill wrote: > On 3/31/2016 6:16 AM, [email protected] wrote: > > i want to make an affiliate site. i am getting data via url from file_get_content. > > but it is giving me entire page. i want only specific data like > image, name,price etc. > > please suggestion.. > > > First, you must have the permission of the main site, otherwise > it is copyright violation. > Second, having downloaded the entire page, you need to write the > code that will parse it into usable chunks. I you know the > filename of the images you want you can just download them just > like you downloaded the page. > > Usually writing the code to parse the page is not easy and then > you have to be prepared to rewrite it when the page changes. > > -bill