The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Registration
Author Message
Llirik
Journeyman
*

Posts: 115
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #1
Registration
This is right script?

[FUNCTION f_account_register]
if !<file.inuse>
file.mode.create=1
file.mode.append=1
file.mode.writeflag=1
if <file.open accounts/sphereacct.scp>
db.query SELECT * FROM register WHERE activ=0
if <db.row.numrows>
for i 0 <eval <db.row.numrows>-1>
file.writeline [<db.row.<eval <local.i>>.0>]
file.writeline password=<db.row.<eval <local.i>>.1>
db.execute UPDATE register SET activ=1 WHERE login=<db.row.<eval <local.i>>.0>
endfor
endif
file.close
ACCOUNT UPDATE
endif
else
serv.log Write error(f_test)
endif
09-30-2015 07:38 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Registration - Llirik - 09-30-2015 07:38 PM
RE: Registration - XuN - 09-30-2015, 09:43 PM
RE: Registration - Llirik - 10-01-2015, 01:52 AM
RE: Registration - Coruja - 10-01-2015, 07:40 AM
RE: Registration - Llirik - 08-15-2016, 09:08 AM
RE: Registration - Llirik - 08-15-2016, 10:31 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)