antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
AlphaMaster

Configura Registro?

Question

Ola estou com um probleminha que não sei como fazer ! Como faço para se registra pela minha web site e jogar no meu Client estou usando ip fixo da maquina e tenho site hospedado na 000webhost

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0

Basta configurares o website com a tua base de dados que estas a utilizar.

Cada registo cria as colunas na tabela players da tua db.

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif
  • 0


/*

|-------------------------------------------------------------------

| Datenbank Connection Details

|-------------------------------------------------------------------

*/

$mysql_host = "mysql16.000webhost.com";

$mysql_user = "a3752968_123";

$mysql_pass = "123456";

$mysql_db = "a3752968_1234";

/*

|-------------------------------------------------------------------

| Datenbank Verbindung herstelleninstall



|-------------------------------------------------------------------

*/

mysql_connect($mysql_host, $mysql_user, $mysql_pass) OR

die("Es konnte keine Verbindung zur Datenbank hergestellt werden.
Fehlermeldung: ".mysql_error());



mysql_select_db($mysql_db) OR

die("Die Datenbank konnte nicht benutzt werden.
Fehlermeldung: ".mysql_error());

?>

 

 

 

 

éssa é config.php da minha web e não da certo para se registra

Share this post


Link to post
Share on other sites
  • 0

O que metes na config é os dados do teu navicat, não da db que crias no host.

E não os mostres aqui, apenas mete-os e diz se dá ou não.

Share this post


Link to post
Share on other sites
  • 0
  • 0

[scan]

DEFINE('SQL_HOST', 'ip navicat');

DEFINE('SQL_USER', 'usuario navicat');

DEFINE('SQL_PASS', 'senha navicat');

DEFINE('SQL_HP_HOST', '');   =

DEFINE('SQL_HP_USER', '');   =     dados do mysql host ?

DEFINE('SQL_HP_PASS', '');   =      

DEFINE('SQL_HP_DB', '');        =

$serverSettings['titel_page']="titulo";

$serverSettings['titel']="titulo";

$serverSettings['url']="link do meu site";

$serverSettings['server_ip']="ip do host ou navicat";

$serverSettings['register_on']=true;

$serverSettings['mail_activation']=false;

$serverSettings['page_entries']=30;

$serverSettings['reg_mail']='';

$serverSettings['pass_mail']='';

require("daten.inc.php");

?>

 

 

 

é assim que configura?

Share this post


Link to post
Share on other sites
  • 0

Basicamente, nunca configurei nenhum website de registo mas pela tradução é isso.

Pelo que vejo tens um website completo, que necessita da tua base de dados para a parte de registo e login e a parte do website para administração.

 

É ires experimentando até funcionar.

Share this post


Link to post
Share on other sites
  • 0

coloquei do jeito de eu dese clico em se registra mais não me da mensagem se deu erro ou não e não aparece nenhuma conta registrada no player/coount

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this