Reply to Re: & behaves differently

Your name:

Reply:


Posted by Oli Filth on 11/18/47 11:42

fritz-bayer@web.de said the following on 05/03/2006 21:06:
> Hi Dana,
>
> the complete code of the php, which I`m supposed to port to perl can be
> found at http://www.googlecommunity.com/scripts/google-pagerank.php
>
> It actually computes the pagerank of a website. Most of the script is
> calculating a checksum, which is needed to calculate the pagerank.
>
> It's really strange the code, but my job is just to port it, but it's
> not so easy as you can see?
>

Basically, PHP doesn't do unsigned arithmetic. This algorithm probably
originated in C or something similar, where you can specify unsigned
data types and everything will work fine. The implementation this guy
created relies on the current conversions occurring in PHP; on a 64-bit
platform this would probably fail.

However:

http://tumanov.com/entry/209
It's talking about VBScript, but the problem he describes is identical.

--
Oli

[Back to original 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

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