[pLog-svn] Trackbacks with 1.1.1
Reto Hugi
plog at hugi.to
Wed Nov 1 18:10:57 GMT 2006
On 01.11.2006 19:01, Oscar Renalias wrote:
> It looks like an issue then, but how about this code.
>
> if( $pageUrl != "" ) {
> if( $dcIdentifier == $pageUrl || $dcIdentifier ==
> htmlentities($pageUrl)) {
> //print("identifer matches page!!");
> array_push( $links, $tbPing );
> }
> }
>
this is not matching:
$pageUrl = 'http://hugi.to/blog/archive/2006/11/01/First-Snow-Post';
$dcIdentifier =
'http://hugi.to/blog/archive/2006/11/01/First%2DSnow%2DPost';
if( $dcIdentifier == $pageUrl || $dcIdentifier == htmlentities($pageUrl))
{
print("identifer matches page!!");
}
else {
echo 'did not match!';
}
it's hex, not htmlentities...
More information about the pLog-svn
mailing list