[Help] script for auto add credits

Not open for further replies.

Break House

Active Member
Apr 26, 2008
Reaction score
function NOW() {
	return date('Y-m-d H:i:s');

if($_SERVER['REMOTE_ADDR'] == $mobio_remote_addr || 1) {

	$sms_reply = 'Greshka. Accounta e nevaliden ili ne e napisan pravelno';
	$conn = mssql_connect($db_serv, $db_user, $db_pass);
	if($conn) {
		mssql_query("UPDATE MEMB_CREDITS SET credits=credits+'$credits_to_add' WHERE memb___id='$item'");
		/*$time = NOW();
		$res = mssql_query("INSERT INTO SMSLOG (memb___id, fromnum, time, sum) VALUES
									('$item', '$fromnum', '$time', '$sum')");*/
		$res = mssql_query("SELECT credits FROM MEMB_CREDITS WHERE memb___id='$item'");
		if(mssql_num_rows($res)>0) {
			$row = mssql_fetch_row($res);
			$sms_reply = "Uspeshno sa zaredeni {$credits_to_add} credita na acc {$item} .Veche imate {$row[0]} credita.";

Искам да попитам как да задействам тази функция
		/*$time = NOW();
		$res = mssql_query("INSERT INTO SMSLOG (memb___id, fromnum, time, sum) VALUES
									('$item', '$fromnum', '$time', '$sum')");*/


New Member
Aug 5, 2008
Reaction score
Аз мисля че се поставя кадето ти е WebShop
Пример : C:/Program Files/EasyPHP-1.8/www/webshop/


Active Member
May 3, 2008
Reaction score
Както е на баттле зоне отдоло показва последните 5 изпращатия на смс и ако си си купил нещо ...
Not open for further replies.
Thread starter Similar threads Forum Replies Date
DemonuMu [Help] Big lag with this script show time romania Help 0
DemonuMu [Help] Ranking Script Help Help 15
D [Help] MuWeb 0.9 Events time script Help 0
enzofuego [Help] Main.exe Description Help 2
P [Help] Online Time Script Help 12
B [Help] SMS Pay Zen Script Help 0
E [Help] Php script error Help 1
suh1q [Help] CashShop Script Help 0
hdimitrov [Help] SQL Script за ресет на герой Help 5
FasT RuNNeR [Help] Vote script Help 4
6efa [Help] Online Script Help 3
hydramu [Help] Script Help 0
killar4eto [Help] View Vault PHP Script Help 6
Filmar [Help] Master Level Script Help 0
wingshot [Help] Script за ресване на Skills Help 12
S [Help] With Inventory Script Help 0
hydramu [Help] WebSite Script Help 0
hydramu [Help] Websites script Help 0
Y [Help] Script for build system Help 0
DaRkiv [Help] SQL Script Help 0
Z [Help] Problem in MuWeb script based websites Help 0
Coolio [Help] Reset Reward Script Help 0
KAFECA420 [Help] scripts Help 4
D [Help] javascript timer events Help 0
StoneAngel [Help] 1 Block script Help 3
lubo55 [Help] Zen Vote Script Help 0
diablo21 [Help] Script for Reset Help 7
Coolio [Help] Reset Script Help 10
JusTFucK [Help] Script i Connected Help 4
DWBaHu0 [Help] Vote script - Vote Later Help 8
F [Help] script for website Help 1
D [Help] script sms - webshop in muweb 0.9 Help 3
FeliXcat [Help] smscript Help 1
diablo21 [Help] SMS script Help 16
Mortred [Help] Vote Script + Accounts Help 0
ReaL [Help] PHP Script-че Help 14
T [Help] How to block MU Auto Clicker Help 0
C [Help] How to anti MuAutoClicker Help 2
E [Help] zTeam S8 Ep2 ExDB Auto close Help 0
hrisiz [Help] Auto Change EXP Help 5
GTI [Help] Как се прави Auto Update Help 7
G [Help] Auto Reset Help 2
MapTuH4y [Help] JoinServer with Auto DC for season 4 Help 4
m0v3r [Help] Проблем с autoinc поле Help 1
S [Help] Server Auto restart Help 0
crazyboy [Help] Server automatically stops Help 3
W [Help] Относно Auto Dupe BAN Help 0
M [Help] GameServer auto restart Help 2
FeliXcat [Help] Auto dupe Help 14
fisherman [Help] Auto Ban Help 0

Similar threads