Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
getVar('email')." já está ativo!"; include("footer.php"); exit(); } //Enviando a baga?a $xoopsMailer =& getMailer(); $xoopsMailer->useMail(); $xoopsMailer->setTemplate('register.tpl'); $xoopsMailer->assign('SITENAME', $xoopsConfig['sitename']); $xoopsMailer->assign('ADMINMAIL', $xoopsConfig['adminmail']); $xoopsMailer->assign('SITEURL', XOOPS_URL."/"); $xoopsMailer->setToUsers($getuser[0]); $xoopsMailer->setFromEmail($xoopsConfig['adminmail']); $xoopsMailer->setFromName($xoopsConfig['sitename']); $xoopsMailer->setSubject(sprintf("- Reenvio - "._US_USERKEYFOR,$getuser[0]->getVar("uname"))); if ( !$xoopsMailer->send() ) { echo "N?o foi possível enviar o link de ativa??o para ".$getuser[0]->getVar('uname').". Entre em contato com os administradores do site."; include("footer.php"); exit(); } else { echo "O Link de ativa??o para ".$getuser[0]->getVar('uname')." foi reenviado. Caso n?o receba o e-mail dentro de algumas horas, tente novamente ou entre em contato com os administradores do site."; } } include("footer.php"); ?> [/code] Coloque este arquivo no seu diretório principal XOOPS. Depois coloque um link para ele no bloco de login e pronto, n?o precisa alterar nada. Se algum usuário do seu site vier reclamando que n?o recebeu o link de ativa??o, pe?a-o para acessar o seusite.com.br/ativacao.php e preencher o form. Se quiser enviar via GET, tipo [code]seusite.com.br/ativacao.php?email=fernando@mastop.com.br[/code] vai funfar do mesmo jeito. Espero que seja útil... quem quiser aprimorar o código, agrade?o!! Testado e funfando direitinho. Grato ao Izzy pelos primeiros testes :-) Abra??o [/quote] Team for security, analysing for me this code ???? :-)[/quote]" />

Re: Ativacao.php - Analysing code for team security
by Catzwolf on 2009/3/16 13:06:26

You are using 3.1? Because as a XOOPS developer I haven't even seen a stable XOOPS v3, so, are you sure about that?

If you mean that you are using the v3 branch on Xoopsforge for a production website, I strongly suggest that you use the version 2.3 branch for this and stay away from that branch until we at least v3 stable.

Catz
Re: Ativacao.php - Analysing code for team security
by deepak267 on 2009/3/16 12:26:37

Hi,
is this implemented on XOOPS 3.x release?


Thanks in advance. I am using 3.1 on linux.
Re: Ativacao.php - Analysing code for team security
by davidl2 on 2005/6/9 10:43:23

This is very useful indeed!

Thanks
Re: Problems with Account Activation Mail - Hack"
by giba on 2005/1/5 22:35:02

Hi Mith

Please, look if is correct ?

Ticket open

Thanks
Re: Problems with Account Activation Mail - Hack"
by giba on 2005/1/5 15:27:30

Sorry Mith

The moment blank page here

Go to next hours
Thanks

Who's Online

807 user(s) are online (753 user(s) are browsing Support Forums)


Members: 0


Guests: 807


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits