- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
require_once ("dbsettings.inc");
require_once ("User.inc");
require_once ("UserFactory.inc");
require_once ("UserGroup.inc");
$login = "aa";//$_POST["login"];
$pass = "as";//$_POST ["pass"];
$__o__III___o__ = new dbsettings (
"localhost",
"root",
"*********",
"WEBSITE",
"Users" );
$__o__IV___o__= new UserFactory (
$__o__III___o__);
$TempUser= $__o__IV___o__->createUser( $login, $pass );
guest 29.04.2009 08:38 # 0
Хотя лучший вариант - это
http://ithappens.ru/story/119