wenns dir nicht passt, post in ein anderes Forum, wenn im Internet mit eienr Homepage präsent sein willst lernst du am Besten html+css.
http://de.selfhtml.org/
lg
wenns dir nicht passt, post in ein anderes Forum, wenn im Internet mit eienr Homepage präsent sein willst lernst du am Besten html+css.
http://de.selfhtml.org/
lg
Wie bekommt man diese fehlermeldungen weg ?????
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/includes/main.class.php on line 28
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 16
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 17
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 18
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 19
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 20
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/handytools/ddl.php on line 22
poste mal den quelltext.... vermutlich hast n fehler im db-zugriff...
edit: die db-zugangsdaten haste angepasst ?
Also ich habe eigentlich alles angepasst warte da war den config datei ich poste die mal .
<?php
class config {
var $ddl_version = "0.1a";
var $ddl_build = "110";
var $head = "DDL-Admin Board";
var $site_url = "habe ich einfach link rein gemacht"; // Your sites url
var $site_name = "name - Direct Download Links"; // Your sites name
var $site_mail = "tim.a.rock@googlemail.com ma email "; // Your e-mail
var $limit = 50; // Number of downloads per page
var $max_dl = 0; // Maximum numbers of downloads in database (0 for unlimited)
var $date_format = "d/m/Y"; // How the dates shall be displayed (Y = year, m = month, d = date) ex. (24-12-2002)
var $admin_email = "tim.a.rock@googlemail.com"; // Your e-mail
var $mysql_host = "localhost"; //MySQL host - usually localhost
var $mysql_user = "handytools username"; //MySQL username
var $mysql_pass = "hier habe ich das pw"; //MySQL password
var $mysql_db = "handytools data base name"; //Your MySQL database
var $type = array( // The different types of downloads - you see how it goes
"Game", // You can have as many (or few) categories as you want
"App",
"Music",
"Mobile",
"Movie",
"XXX",
"Other",
);
var $mysql_tb_dl = "downloads"; // The downloads table
var $mysql_tb_que = "que"; // The table for downloads submitted but not reviewed
var $mysql_tb_le = "linker"; // The links information
var $mysql_tb_ip = "iplogg"; // Ip-logging, for anti-cheating (and for you to check if you suspect cheating)
var $mysql_tb_sdl = "site_downloads"; // The Sitedownloads table
var $connect = false;
function option_list() {
for ($i=0; $i<count($this->type); $i++) {
$return .= "<select>
<option>".$this->type[$i]."</option>";
}
return $return;
}
function open() {
$this->connect = @mysql_connect($this->mysql_host, $this->mysql_user, $this->mysql_pass)
or die("This is the new DDLPost server! It is still being installed! For DDLPost on the old server, Go to: http://216.138.2two5.7o/ddl.php <a href=\"mailto:".$this->admin_email."\">".$this->admin_email."</a>");
@mysql_select_db($this->mysql_db)
or die("Failed to connect to databases, contact <a href=\"mailto:".$this->admin_email."\">".$this->admin_email."</a>");
}
function close() {
@mysql_close($this->connect);
}
function dato() {
$dato = date($this->date_format);
return $dato;
}
function run($list) {
$check_first = 1;
for ($i=0; $i<count($list); $i++) {
if ($check_first) {
$hvahvor = "id = '".$list[$i]."'";
$check_first = 0;
} else
$hvahvor .= " || id = '".$list[$i]."'";
}
return $hvahvor;
}
function page($url) {
global $page;
$pages=1;
for ($starter=0; $this->total>$starter; $starter+=$this->limit) {
if ($pages != $page)
echo "<a href=\"".$url.$pages."\" class=\"page\">$pages</a> \n";
else
echo "[b][ $pages ][/b] \n";
$pages++;
}
}
function blacklist($url) {
$fil = @file("blacklist.txt");
$go = false;
for ($i=0; $i<count($fil); $i++) {
if (eregi(substr($fil[$i], 0, strlen($fil[$i])-3), $url)) {
$go = true;
break;
}
}
if ($go)
return true;
else
return false;
}
}
?>
Alles anzeigen
das habe ich da alles eingetragen