Reply to Re: depreciated calls don't function

Your name:

Reply:


Posted by ZeldorBlat on 12/20/05 17:10

In PHP 5, using the "var" keyword to declare member variables of an
object is deprecated. The quick solution is to change all those "var
$somevar" to "public $somevar".

Also, your class constructor is probably defined incorrectly. Old way:

function Crypt_RSA($params, $wrapper_name) {
//do your construction
}

New way:

function __construct($params, $wrapper_name) {
//do your construction
}

You may also want to turn up the error reporting level in php.ini to
see if you get any errors that you weren't getting before.

[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

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