No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi all, Not even sure if this does belong in this section, but please redirect me if it doesn't. For those of us that have affiliate sites, most affiliates provide us with data feeds or specific data feed url with whcih we can link and extract information for our websites. … | |
I have recieved help over las couple of days with some regex coding. As I'm sure you're aware, with every breakthrough comes another question and I'm stuck on the following [code] $url = 'http://www.islandcosmetics.com/p/Vera-Wang-for-Men-Eau-De-Toilette-Spray-50ml.html'; $html = file_get_contents($url); preg_match('/<div class=\"padding9px\"><p?>(.+?)(\d+\.\d+)?<br \/><strong><span class=\"orange\">(.*)<\/span><\/strong><\/p><\/div>/', $html, $match); $out = $match[2];[/code] This first one is … | |
I think I did post this some time ago, but can't find original thread to rehash. I have some questions regarding lifting data from a particular webpage. What makes this unusual and why I need to ask some questions is that within the tags, there is a lot of white … | |
Hi there, Bit of a complicated query, for me anyway. lol Following code: [code]$url = 'http://www.cheapsmells.com/viewProduct.php?id=6590'; $html = file_get_contents($url); preg_match('/<div class='productOurPrice'?>(.+?)(\d+\.\d+)(.+?)?<\/div>/', $html, $match); $out = $match[2];[/code] Great, no problem! However, this next url I need to code to is a bit trickier as the tag data is, well see below... … | |
Hola, I am very new to regex and am relying on help from other forumers to help code this. If you think you can teach me (lol) even better. I have an affiliate website that lists products from various external websites. For obvious reasons these products are sometimes out of … |
The End.