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
Register Script and Gump
Author Message
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #1
Register Script and Gump
Hello Guys, I have made a gump register menu but I have a doubt. How can I make the OKAY button to, when pressed, record the lines and save in a SCP file on Accounts folder? To save a list like
login
Password
Full Name (Nome Completo)
E-mail
Rg (Personal Brazilian Id)

Can you Help me doing that?

Have a look [Image: menucadastro.png]

PHP Code:
// Created 01/06/2013 15:48:03, with Gump Studio.
// Exported with with SphereExporter ver 1.1.
// Script for 0.56/Revisions

[DIALOG d_cadastros]
99,51
NOCLOSE
NOMOVE
NODISPOSE
page 0
resizepic 93 52 9200 354 388
gumppic 197 70 100
text 235 84 0 0
text 218 125 0 1
gumppic 90 27 52
htmlgump 175 184 200 100 2 1 1
gumppic 102 296 2430
textentry 120 301 308 20 0 1 3
textentry 117 332 308 20 0 2 4
textentry 120 362 304 20 0 3 5
button 235 411 247 248 1 0 0

[DIALOG d_cadastros text]
Bem-Vindo
Conamidia Shard
Boa tarde
Seja bem vindo ao Conamíia ShardAqui você encontrará aventuras e diversão com outros jogadoresRespeite os jogadores assim como o servidorO intuito do servidor e proporcionar diversão a todosCaso encontre algum bugfavor contatar os resposáveis pelos servidor.

Nome Completo
E
-mail
RG

[DIALOG d_cadastros button]
ON=0
// Button 1
// 


[EOF

I was thinking doing like
PHP Code:
[DIALOG d_cadastros button]
ON=0
// Button 1
// 
Writefile contas/<tag.newbmenu.defname>.scp
 SYSMESSAGE 
@044,,1 Cadastro [<TAG.src.name>] successfully saved

But How can I do to the button take the words which fill those TEXT ENTRIES and save in the file?
(This post was last modified: 06-02-2013 06:12 AM by larmc20.)
06-02-2013 05:00 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Register Script and Gump - larmc20 - 06-02-2013 05:00 AM
RE: Register Script and Gump - Mordaunt - 06-02-2013, 06:18 AM
RE: Register Script and Gump - larmc20 - 06-02-2013, 06:35 AM
RE: Register Script and Gump - Mordaunt - 06-02-2013, 12:15 PM
RE: Register Script and Gump - larmc20 - 06-02-2013, 03:40 PM
RE: Register Script and Gump - Rattlehead - 06-02-2013, 06:23 PM
RE: Register Script and Gump - larmc20 - 06-03-2013, 01:22 AM
RE: Register Script and Gump - babazar - 07-17-2013, 11:46 PM

Forum Jump:


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