Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentServer Side ScriptingPHP right
  Closed Topic Start new topic
left right
susa007
post Nov 6 2008, 02:14 PM
Post #1


Newbie
*

Group: Members
Posts: 9
Joined: 21-September 08
Member No.: 60,836



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
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 23rd May 2013 - 11:20 AM