Re: Check if link is on a page

From: Date: Sat, 24 Feb 2007 11:21:40 +0000
Subject: Re: Check if link is on a page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249359@lists.php.net to get a copy of this message
$web = fopen('http://google.com/index.php', 'r'); $contents = file_get_contents($web); if (preg_match('/$link/', $contents))... you got it simplified and no error checking but you get the idea.

« previous php.general (#249359) next »