Jump to content

Login SQl and PHP


xRGamingx

Recommended Posts

Posted

Hello friends I need help, My friend had created a login panel. And the login panel is all via html and MySQL connection

But my friend had hosted in PHP a library that was responsible for sending a code to the mail of users who register on the server

And I do not have that library to upload it to PHP to be able to walk the login perfectly I would like you to help me with this liberia please,

I will leave the php link that my friend used : http://proyectonc.eshost.com.ar/MtaSendMail/enviar.php?para= ...

UEBsQdn.png?1

 

350x20_325BE3_23D923_000000_0019D9.png
Posted
16 minutes ago, NeXuS™ said:

You can install XAMPP and use their mail service to send mails too.

Take a look at this explanation.

he wants to know how php does

Give the file php to xRGamingx

  • Thanks 1

 DUyJ810.gif

Posted
4 minutes ago, NeXuS™ said:

Try to translate those variables. I have no idea what they mean.

---enviar = submit or Send
---codigo = code
---correo = email
---asunto = affair
---user   = user

function enviar(codigo,correo,asunto,user)
url = "http://proyectonc.eshost.com.ar/MtaSendMail/enviar.php?para="..correo.."&asunto="..asunto.."&mensaje="..codigo
triggerClientEvent(user,"Send",user,url)
end
 

350x20_325BE3_23D923_000000_0019D9.png
Posted

First of all. I'm not going to give you a file which you can just drag&drop in. (The reason behind is, that I want you to improve, and not just copy-paste.)

First of all, you will need to create a .php file.

<?php
?>

Then you'll have to get those variables using $_GET.
Then call mail() (if you have the mail service already setup) with the arguments needed.

If you did it correctly, you'll get an email.

6C73yFv.png

Did I help you?

Mmpe7Jm.gif


NeXuS™#0001

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...