Go Back   Internet Marketing Forums > Internet Marketing Forums > How To Make Money On The Internet



Reply
 
Thread Tools Search this Thread Display Modes
Old 02-27-2009, 03:39 AM   #1
senesh
 
Join Date: Feb 2009
Posts: 3
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
senesh is offline   Reply With Quote
Check This Out...
--
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Effective Email Content ArticleJunkie How To Make Money On The Internet 1 12-01-2012 05:49 AM
Signature File Dos and Don'ts ArticleJunkie How To Make Money On The Internet 0 11-07-2012 12:39 PM
The Content Farm Problem rhody007 How To Make Money On The Internet 0 05-11-2011 02:07 AM
Repurposing Content notepage How To Make Money On The Internet 0 07-21-2009 11:18 AM
Preg Match problem (file get content) niceextra How To Make Money On The Internet 1 01-23-2009 01:56 PM


All times are GMT -4. The time now is 10:38 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.