Re: fopen problem, 5 line script [SOLVED!]

From: Date: Wed, 15 Sep 2004 17:37:44 +0000
Subject: Re: fopen problem, 5 line script [SOLVED!]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196763@lists.php.net to get a copy of this message
Got it, 'case anybody else needs this: $page = file_get_contents('http://www.google.se/index.html'); if(strstr($page, 'href="/imghp?hl=sv&tab=wi&ie=UTF-8"')) { $resultt = 1; } else { $resultt = 2; } echo $resultt; Cheers, Mag ===== ------ - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

« previous php.general (#196763) next »