![]() |
![]() |
|
||||
|
Preg Match problem (file get content)
i was using google search results but suddenly they changed something and now i can not.
php Code: <?php header('Content-type:text/html; charset=utf-8'); $s = file_get_contents("http://www.google.com.tr/search?hl=tr&q=test&meta="); preg_match("/<div class=g>(.*?)<h2 class=r>/Us",$s,$d); echo "<pre>";print_r($d); ?> can you please tell me what is wrong Reply With Quote eruseldarine View Public Profile Send a private message to eruseldarine Find all posts by eruseldarine |
|
||||
|
Hmm.. it returned false because you tried to look for a class that doesn't exist. Please verify it.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.internetmarketingforums.net/programming-scripts/11004-preg-match-problem-file-get-content.html
|
||||
| Posted By | For | Type | Date | |
| Preg Match problem (file get content) - bInternet Marketing/b Forums .Net | Hilium | This thread | Pingback | 01-21-2009 02:44 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3 Reasons Why Adsense Is Essential For Content | nolt1968 | Articles / Marketers Knowledge Base | 7 | 01-21-2010 06:32 AM |
| Why Having Quality Content Is So Important For SEO | momonline | Articles / Marketers Knowledge Base | 0 | 09-24-2008 07:10 AM |
| What Sort Of Content Is and Isn't Indexed In The Search Engines. | momonline | Articles / Marketers Knowledge Base | 0 | 09-21-2008 01:05 PM |
![]() |
![]() |
![]() |