24 lines
347 B
PHP
24 lines
347 B
PHP
|
#!/usr/bin/php
|
||
|
|
||
|
<?php
|
||
|
|
||
|
require("session_init.php");
|
||
|
require("config.inc.php");
|
||
|
require("log.php");
|
||
|
require("db.class.php");
|
||
|
|
||
|
$doldb = new db();
|
||
|
$doldb->database = "dolibarr";
|
||
|
$ncdb = new db();
|
||
|
$ncdb->database = "nextcloud";
|
||
|
$doldb->query("SELECT login FROM llx_adherents");
|
||
|
|
||
|
function esp( $s )
|
||
|
{
|
||
|
$s = " $s ";
|
||
|
return $s;
|
||
|
}
|
||
|
|
||
|
var_print($doldb);
|
||
|
?>
|