You are here: checking for duplicate images. « All PHP « IT news, forums, messages
checking for duplicate images.

Posted by Cleverbum on 08/16/06 08:15

I wanted to check if two images on my server were the same, and had the
bright idea of using:

$a=imagecreatefromjpg("1.jpg");
$b=imagecreatefromjpg("2.jpg");

if($a==$b){
echo "they match";
}else{
echo "they don't match";
}

But that won't work, I obviously can't use equality to compare them,
but is there a way that I can?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация