Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16707
| From | bill <william@TechServSys.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: affiliate site |
| Date | 2016-03-31 06:28 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ndiu5h$q02$1@gioia.aioe.org> (permalink) |
| References | <927358f8-4cb6-4329-a694-bff10669dad4@googlegroups.com> |
On 3/31/2016 6:16 AM, jaydeep.rathore123@gmail.com 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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
affiliate site jaydeep.rathore123@gmail.com - 2016-03-31 03:16 -0700
Re: affiliate site bill <william@TechServSys.com> - 2016-03-31 06:28 -0400
Re: affiliate site Y A <y000000000000@ya.ee> - 2023-02-16 04:49 -0800
Re: affiliate site Jerry Stuckle <jstucklex@attglobal.net> - 2016-03-31 09:34 -0400
Re: affiliate site Y A <y000000000000@ya.ee> - 2023-02-16 04:50 -0800
Re: affiliate site Y A <y000000000000@ya.ee> - 2023-02-16 04:50 -0800
csiph-web