AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to send E-mail using PHP in CS 1.6? (https://forums.alliedmods.net/showthread.php?t=246385)

colossus 08-16-2014 18:32

How to send E-mail using PHP in CS 1.6?
 
I have a web server which can send mails.

How I can create a function to send an email with a variable?

example:

g_playername [id] <--- Send the value of this variable
To: [email protected]
From: [email protected]
Subject: Your Nickname
Content: Your nickname is:% s, g_playername [id]
Your nickname is: User nickname

quark 08-16-2014 19:59

Re: How to send E-mail using PHP in CS 1.6?
 
Theres a php <-> amx tutorial, search

^SmileY 08-17-2014 02:15

Re: How to send E-mail using PHP in CS 1.6?
 
You can show motd using a url containing a form in PHP, and use GET method to retrive the player name


All times are GMT -4. The time now is 13:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.