ich hab den emaillist hack angeschaut und da steht:
"Change the variables "localhost","username","password","database name" to your own."
auf was muss ich localhost ändern, wenn meine ip net statisch ist und das forum auf nem anderen server ist?
Code: Alles auswählen
<?php
########################################################
## Mod Title: Email List
## Mod Version: 1.0
## phpbb Version: 2.02
## Author: Jamer <webmaster@jamer.co.uk> www.jamer.co.uk
## Description: This mod will list all email addresses from your phpbb
##
## Installation Level: Easy
## Installation Time: 1-3 Minutes
## Files To Edit: 1
## email_list.php (included)
##
## Included Files: 1
## email_list.php
#################################################################
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites
#################################################################
##
## Author Note:
##
## Enjoy! Check out my forums @ www.jamer.co.uk/scripts/phpbb2
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
mysql_connect("localhost","Thomas","password");
mysql_select_db("database_name");
$query_result = mysql_query("SELECT user_email FROM phpbb_users");
while ($query_array = mysql_fetch_array($query_result)){
echo $query_array["user_email"] . '<br>';
}
?>