Register for your free account! | Forgot your password?
Rust Cheats
Rust Cheats

You last visited: Today at 08:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Script PHP HomePage Massive E-Mail

Discussion on Script PHP HomePage Massive E-Mail within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 13
Received Thanks: 21
Script PHP HomePage Massive E-Mail

Hi, Epvp

Mein Skript ist in PHP für eine mail alle Anwender ist der Server Metin2 oder andere Gameplay senden an: D


Wie funktioniert es?

The user session is only in the page
Quote:
<?PHP
if($_SESSION['user_admin']>=$adminRights['acc_suche']) {

if(!isset($_GET['filter']) && empty($_GET['filter'])) {
$_GET['filter']='';
$url_extension = '';
}
else {
$url_extension = '&filter='.$_GET['filter'];
}
?>
Der Code PHP ist eine Ergänzung, um den Benutzer in der Datenbank in Englisch zu sehen.

Quote:
<h2>Admin - User</h2>
<p>Here accounts or accountIds search. <br/> If an empty list is entered again, the full list on the screen. </ P> <form action="index.php" method="GET">
<input type="hidden" name="s" value="admin"/>
<input type="hidden" name="a" value="user"/>
<table>
<tr>
<th class="topLine">Search (Account / Account-ID):</th>
<td class="topLine"><input type="text" name="filter" value="<?PHP if(isset($_GET['filter'])) echo $_GET["filter"]; ?>" size="40" maxlength="16"/></td>
<td class="topLine"><input type="submit" name="submit" value="suchen"/></td>
</tr>
</table>
</form>
<?PHP

$sqlCmd = "SELECT COUNT(*) AS anzEintr FROM account.account WHERE login LIKE '%".mysql_real_escape_string($_GET['filter'])."%' OR id='".mysql_real_escape_string($_GET['filter'])."' ORDER BY login ASC";
$sqlQry = mysql_query($sqlCmd,$sqlServ);
$getAnz = mysql_fetch_object($sqlQry);
$cntEintraege = $getAnz->anzEintr;
if(isset($_GET['p'])) {
$aktSeite = (!checkInt($_GET['p'])) ? 0 : $_GET['p'];
}
else {
$aktSeite=0;
}
if($aktSeite==0) $aktSeite=1;
$test = calcPages($cntEintraege,$aktSeite,$serverSettings['page_entries']);

$sqlCmd = "SELECT email FROM account.account WHERE login LIKE '%".mysql_real_escape_string($_GET['filter'])."%' OR id='".mysql_real_escape_string($_GET['filter'])."' ORDER BY login ASC LIMIT ".$test[1].",".$serverSettings['page_entries'];

$sqlQry = mysql_query($sqlCmd,$sqlServ);
echo'Aktueller Filter: &laquo;<b>'.$_GET['filter'].'</b>&raquo;';
echo'<p>Seite: ';
for($i=1;$i<=$test[0];$i++) {

echo'<a href="index.php?s=admin&a=user'.$url_extension.'&p ='.$i.'">';
if($aktSeite==$i) { echo'<u>'.$i.'</u>'; }
else { echo $i; }
echo'</a> ';

}
echo'</p>';

?>
Das Skript verwenden Sie eine Sequenz. Sie müssen ändern "YourIPoftheserver" ist, dass Sie in ip-Server Metin2 oder anderen Server. Wenn die conection der Datenbank falsch ist, legte das Skript ein Fehler in der Datenbank.

Quote:
mysql_conect("YourIPoftheserver","root")or die ("Connection is not the message will come out in English".mysql_error());
mysql_select_db("account")or die("You have no database connection".mysql_error());
Das Skript wählen Sie eine Tabelle in Ihrer Datenbank in dem Fall ist account.account. Ich erkläre im Angebot
Quote:
$re=mysql_query("SELECT email FROM account.account");//Wählen Datenbank
while($f=mysql_fetch_array($re)){
$para=$f['email'];////Feld, um die E-Mail-Adresse oder Bereich greifen
$serverSettings=$f['titel']."Title your menssage"///Titel der Nachricht
$nombre=$f['login'];///Name des Benutzers in der Mitteilung.
Um Bilder setzen wir den folgenden

Quote:

<img src="http://yourdomain.com/img/event/eventsm.jpg">

Ist wichtig, Ihr Bild in einer Domäne.

<img src=""> Ist eine Richtung von Link.
Wichtig ist die E-Mail im HTML-, ist eine andere Ergänzung im Skript die Meldung in html. Es wird im Format html organisiert. Es wird, was es fordert. Ich lasse ein Beispiel

Quote:
<table>
<tr>
<th class="topLine">E-Mail</th>
</tr>
<?php
$cab."Content-type: text/html\r\n";
$cab.'From: ';
mysql_conect("YourIPoftheserver","root")or die ("Connection is not the message will come out in English".mysql_error());
mysql_select_db("account")or die("You have no database connection".mysql_error());
$re=mysql_query("SELECT email FROM account.account");
while($f=mysql_fetch_array($re)){
$para=$f['email'];
$serverSettings=$f['titel']."Title your menssage"
$nombre=$f['login'];
$msj='
Estimated:'.$login.'<br>
<br>Hi user Metin2</br>

<p>Metin2 invites you to play their only dedicated servers .</p>

What do you expect to play?

Today we have more stable servers and a staff fully responsible . Thanks to the great experiences we've been buying this year for their services .

If you keep playing Metin2 thank you for your faithfulness . I 've noticed that the server is already stable .
If you keep playing you are welcome to return to see that everything has improved. And now we are great .

We have dedicated servers. Accommodation web .
And two great programmers who are 24 -hour servers attentive to Metin2. Not all.
<p>We are also looking at the possibility of increasing the server attentive programmers and designers.</p>

The experiences have given us strength and s not only that. We can also say that thanks to donations that have been put by the players continue to improve .

We implement everything new official servers and combine with private servers while retaining the official style . Without losing that style.

<br>Metin2 invites you to its apogee.</br>

<p>Pages:</p>




<img src="http://yourdomain.com/img/event/eventsm.jpg">
Please do not answer this message. It is an email blast created by a PHP script code.


';
mail($para, "invitacion",$msj,$cab);
echo $para.'<br>';
echo $msj.'<br><br>',
}
<?PHP
$x=0;
while($getAccs=mysql_fetch_object($sqlQry))
{
if(($x%2)==0)
{
$zF="tdunkel";
}
else
{
$zF="thell";
}


echo"
<tr>
<td class=\"$zF\">".$getAccs->email."</td>\n
</tr>\n";
$x++;
}
?>
</table>
<?PHP
}
else {
echo'<p class="meldung">¡It has no connection to the db!</p>';
}
?>

Der Code aussehen würde

Quote:
<?PHP
if($_SESSION['user_admin']>=$adminRights['acc_suche']) {

if(!isset($_GET['filter']) && empty($_GET['filter'])) {
$_GET['filter']='';
$url_extension = '';
}
else {
$url_extension = '&filter='.$_GET['filter'];
}
?>
<h2>Admin - User</h2>
<p>Here accounts or accountIds search. <br/> If an empty list is entered again, the full list on the screen. </ P> <form action="index.php" method="GET">
<input type="hidden" name="s" value="admin"/>
<input type="hidden" name="a" value="user"/>
<table>
<tr>
<th class="topLine">Search (Account / Account-ID):</th>
<td class="topLine"><input type="text" name="filter" value="<?PHP if(isset($_GET['filter'])) echo $_GET["filter"]; ?>" size="40" maxlength="16"/></td>
<td class="topLine"><input type="submit" name="submit" value="suchen"/></td>
</tr>
</table>
</form>
<?PHP

$sqlCmd = "SELECT COUNT(*) AS anzEintr FROM account.account WHERE login LIKE '%".mysql_real_escape_string($_GET['filter'])."%' OR id='".mysql_real_escape_string($_GET['filter'])."' ORDER BY login ASC";
$sqlQry = mysql_query($sqlCmd,$sqlServ);
$getAnz = mysql_fetch_object($sqlQry);
$cntEintraege = $getAnz->anzEintr;
if(isset($_GET['p'])) {
$aktSeite = (!checkInt($_GET['p'])) ? 0 : $_GET['p'];
}
else {
$aktSeite=0;
}
if($aktSeite==0) $aktSeite=1;
$test = calcPages($cntEintraege,$aktSeite,$serverSettings['page_entries']);

$sqlCmd = "SELECT email FROM account.account WHERE login LIKE '%".mysql_real_escape_string($_GET['filter'])."%' OR id='".mysql_real_escape_string($_GET['filter'])."' ORDER BY login ASC LIMIT ".$test[1].",".$serverSettings['page_entries'];

$sqlQry = mysql_query($sqlCmd,$sqlServ);
echo'Aktueller Filter: &laquo;<b>'.$_GET['filter'].'</b>&raquo;';
echo'<p>Seite: ';
for($i=1;$i<=$test[0];$i++) {

echo'<a href="index.php?s=admin&a=user'.$url_extension.'&p ='.$i.'">';
if($aktSeite==$i) { echo'<u>'.$i.'</u>'; }
else { echo $i; }
echo'</a> ';

}
echo'</p>';

?>
<table>
<tr>
<th class="topLine">E-Mail</th>
</tr>
<?php
$cab."Content-type: text/html\r\n";
$cab.'From: ';
mysql_conect("YourIPoftheserver","root")or die ("Connection is not the message will come out in English".mysql_error());
mysql_select_db("account")or die("You have no database connection".mysql_error());
$re=mysql_query("SELECT email FROM account.account");
while($f=mysql_fetch_array($re)){
$para=$f['email'];
$serverSettings=$f['titel']."Title your menssage"
$nombre=$f['login'];
$msj='
Estimated:'.$login.'<br>
<br>Hi user Metin2</br>

<p>Metin2 invites you to play their only dedicated servers .</p>

What do you expect to play?

Today we have more stable servers and a staff fully responsible . Thanks to the great experiences we've been buying this year for their services .

If you keep playing Metin2 thank you for your faithfulness . I 've noticed that the server is already stable .
If you keep playing you are welcome to return to see that everything has improved. And now we are great .

We have dedicated servers. Accommodation web .
And two great programmers who are 24 -hour servers attentive to Metin2. Not all.
<p>We are also looking at the possibility of increasing the server attentive programmers and designers.</p>

The experiences have given us strength and s not only that. We can also say that thanks to donations that have been put by the players continue to improve .

We implement everything new official servers and combine with private servers while retaining the official style . Without losing that style.

<br>Metin2 invites you to its apogee.</br>

<p>Pages:</p>

1and1.com - Professional solutions for Website, Domain, Hosting


<img src="http://yourdomain.com/img/event/eventsm.jpg">
Please do not answer this message. It is an email blast created by a PHP script code.


';
mail($para, "invitacion",$msj,$cab);
echo $para.'<br>';
echo $msj.'<br><br>',
}
<?PHP
$x=0;
while($getAccs=mysql_fetch_object($sqlQry))
{
if(($x%2)==0)
{
$zF="tdunkel";
}
else
{
$zF="thell";
}


echo"
<tr>
<td class=\"$zF\">".$getAccs->email."</td>\n
</tr>\n";
$x++;
}
?>
</table>
<?PHP
}
else {
echo'<p class="meldung">¡It has no connection to the db!</p>';
}
?>
Denken Sie daran, dass die Menge der E-Mail in Übereinstimmung mit Ihren DNS-Anbieter und das Skript sind automatisch gehen, um die Mail zu versenden.
Es kann auch erkennen, wie SPAM einigen Mail-Servern.
Attached Files
File Type: txt scriptmasivo.txt (4.1 KB, 24 views)
asusta099 is offline  
Thanks
2 Users
Old 11/22/2013, 08:13   #2
 
elite*gold: 0
Join Date: Nov 2013
Posts: 502
Received Thanks: 129
Nice thank u, But pls don't use Google Translater.
.Ryu' is offline  
Old 11/22/2013, 09:55   #3
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,902
Received Thanks: 3,342
Sry, but that´s coded really crappy...
Sorry if i say that, but its the truth.
Pls just take a quick look at Zendmail.
With Zendmail you can send the mass-email in about 10 lines of code.
xCPx is offline  
Thanks
4 Users
Old 11/23/2013, 02:33   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 13
Received Thanks: 21
Quote:
Originally Posted by xCPx View Post
Sry, but that´s coded really crappy...
Sorry if i say that, but its the truth.
Pls just take a quick look at Zendmail.
With Zendmail you can send the mass-email in about 10 lines of code.
Es ist für diejenigen, die brauchen :P


Ryu i don't speak Germany.
asusta099 is offline  
Reply


Similar Threads Similar Threads
[S] E-mail Liste und Protest mail script
08/20/2013 - elite*gold Trading - 4 Replies
yo suche Emailliste mit pw und Protest mail script
(FREE SERVICE) Bereits released Homepage Script's umwandeln für Homepage-Baukasten
09/09/2012 - Metin2 Private Server - 4 Replies
Tach Ich habe mich mal dazu entschlossen für die "Hamachi Server", die Homepage-Bauksten als Homepage-Provider benutzen, ein paar bereits released Homepage so umzuscripten, dass sie für Homepage-Baukasten funktionstüchtig sind. Wenn ihr wirklich Interesse daran habt, könnt ihr mir entweder hier im Thread oder per PN einen Link zu einer bereits released Homepage schicken (oder selbst erstellte, einfach Script DL per PN senden), dannach werde ich es so umscripten und euch die Codes per PN...
Suche Homepage mit hen script Zahle für gute Homepage!
03/09/2011 - Metin2 Private Server - 6 Replies
Wie in der überschrift zu lesen suche ich eine Homepage für einen Metin2 P-Server! Ich würde sogar etwas für die Homepage Zahlen! Und ich kann euch jetzt schon sagen Geld ist genug da! Wer eine gute Homepage hat und die Verkaufen möchte pn me!



All times are GMT +1. The time now is 08:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.