Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [katabd] if Image statment: Edit Log

Here is the list of edits for this post
Re: [katabd] if Image statment
Erm, well that obviously won't work Wink

Code:
sub {

my $url = $_[0];
my $flag = 0;

if ($url =~ /\.gif$/i || $url =~ /\.jpg$/i) {
$flag++;
}

return { img_flag => $flag };
}

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Apr 20, 2004, 9:18 AM

Edit Log: