Re: Check if link is on a page

From: Date: Sat, 24 Feb 2007 11:49:15 +0000
Subject: Re: Check if link is on a page
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-249363@lists.php.net to get a copy of this message
Ok, thanks. That should do it. By the way, which letter should be used for what at the fopen like you used an 'r'. Is there an online reference that lists this? Because I couldn't find it at php.net Thanks On 2/24/07, Dave Goodchild <buddhamagnet@gmail.com> wrote:
$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 (#249363) next »