flagflag  

Re: LoadUrl Money

List posts in the topic

なし Re: LoadUrl Money

msg# 1.3
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2012/2/19 19:39
milo  Not too shy to talk   Posts: 30
My function

function opensim_set_avatar_session($name, $uuid,$token,$amount,$cost, &$db=null)
{
global $OpenSimVersion;

if (!isGUID($uuid)) return null;

if (!is_object($db)) $db = & opensim_new_db();
if ($OpenSimVersion==null) opensim_get_db_version($db);

if ($db->exist_table('sessionmoney')) {
$db->query("INSERT INTO sessionmoney SET avname='$name',avkey='$uuid',token='$token',virtual='$amount',real='$cost'");
$errno = $db->Errno;
}

return $errno;
}
Votes:73 Average:5.34

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthNov 2025Next Month
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Today

Access Counter

Today : 107843107843107843107843107843107843
Yesterday : 151880151880151880151880151880151880
Total : 3747546637475466374754663747546637475466374754663747546637475466
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com