ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] помогите с php плиз
@ 2005-10-10 13:12 Oleg Pan
  2005-10-10 13:20 ` Oleg Pan
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pan @ 2005-10-10 13:12 UTC (permalink / raw)
  To: community

Hello community,

  взял софт на php в нем есть такая функция

function l2j_encrypt($password)
{
        if(!function_exists("mhash")) return false;
        return base64_encode(mhash(MHASH_SHA1, utf8_encode($password)));
}
так ват постоянно ругается на отсутствие mhash
что с этим можно сделать?

Дистр ALM2.4 + updates
libmhash поставил через apt (не помогло)



-- 
Best regards,
 Oleg                          mailto:wacom@narod.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] помогите с php плиз
  2005-10-10 13:12 [Comm] помогите с php плиз Oleg Pan
@ 2005-10-10 13:20 ` Oleg Pan
  2005-10-10 17:19   ` Pavel Vainerman
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pan @ 2005-10-10 13:20 UTC (permalink / raw)
  To: Oleg Pan, ALT Linux Community

Hello Oleg,

Monday, October 10, 2005, 5:12:04 PM, you wrote:

> Hello community,

>   взял софт на php в нем есть такая функция

> function l2j_encrypt($password)
> {
>         if(!function_exists("mhash")) return false;
>         return base64_encode(mhash(MHASH_SHA1, utf8_encode($password)));
> }
> так ват постоянно ругается на отсутствие mhash
> что с этим можно сделать?

> Дистр ALM2.4 + updates
> libmhash поставил через apt (не помогло)

 или может какое еще решение может быть?




-- 
Best regards,
 Oleg                            mailto:wacom@narod.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] помогите с php плиз
  2005-10-10 13:20 ` Oleg Pan
@ 2005-10-10 17:19   ` Pavel Vainerman
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Vainerman @ 2005-10-10 17:19 UTC (permalink / raw)
  To: Oleg Pan, ALT Linux Community

> > libmhash поставил через apt (не помогло)
	Это не поможет...
> >  или может какое еще решение может быть?
	Для php должен быть специальный пакет.
Наверно стоит поискать командой: apt-cache search mhash

У меня в Сизифе, эта функция нашлась в пакете
php5-mhash - Mhash support for PHP5

	Может в Master2.4 она где-нибудь в другом месте...


-- 
Павел Вайнерман
Eternity Software Team
http://www.etersoft.ru


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-10 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-10 13:12 [Comm] помогите с php плиз Oleg Pan
2005-10-10 13:20 ` Oleg Pan
2005-10-10 17:19   ` Pavel Vainerman

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git