Raised This Month: $ Target: $400
 0% 

How to send E-mail using PHP in CS 1.6?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
colossus
Member
Join Date: Sep 2013
Old 08-16-2014 , 18:32   How to send E-mail using PHP in CS 1.6?
Reply With Quote #1

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
colossus is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 08-16-2014 , 19:59   Re: How to send E-mail using PHP in CS 1.6?
Reply With Quote #2

Theres a php <-> amx tutorial, search
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-17-2014 , 02:15   Re: How to send E-mail using PHP in CS 1.6?
Reply With Quote #3

You can show motd using a url containing a form in PHP, and use GET method to retrive the player name
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:36.


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