php.de

Zurück   php.de > Lösungen durch Skripte > Scriptbörse

Scriptbörse PHP Lösungen für nen schmalen Taler

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 15.09.2009, 21:34  
Benutzer
 
Registriert seit: 09.08.2009
Beiträge: 57
PHP-Kenntnisse:
Anfänger
bayway kann nur auf Besserung hoffen
bayway eine Nachricht über ICQ schicken bayway eine Nachricht über MSN schicken bayway eine Nachricht über Yahoo! schicken
Standard

Die Fehlermeldung erscheint immernoch
bayway ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 15.09.2009, 21:53  
Benutzer
 
Benutzerbild von Nico_Schubert
 
Registriert seit: 27.02.2008
Beiträge: 94
PHP-Kenntnisse:
Fortgeschritten
Nico_Schubert befindet sich auf einem aufstrebenden Ast
Standard

Wie sieht Deine main.php nun aus, kannst Du diese bitte mal hier schreiben.
__________________
Benötigst Du hilfe zu Php? Dann schau doch mal meine Tutorials an. Hier bekommst Du Php Webspace für deine Php Scripte.
Nico_Schubert ist offline   Mit Zitat antworten
Alt 15.09.2009, 22:00  
Benutzer
 
Registriert seit: 09.08.2009
Beiträge: 57
PHP-Kenntnisse:
Anfänger
bayway kann nur auf Besserung hoffen
bayway eine Nachricht über ICQ schicken bayway eine Nachricht über MSN schicken bayway eine Nachricht über Yahoo! schicken
Standard

PHP-Code:
<?
#########################################################
# Simple Member                                         #
#########################################################
#                                                       #
# Created by: Doni Ronquillo                            #
#                                                       #
# This script and all included functions, images,       #
# and documentation are copyright 2003                  #
# free-php.net (http://free-php.net) unless             #
# otherwise stated in the module.                       #
#                                                       #
# Any copying, distribution, modification with          #
# intent to distribute as new code will result          #
# in immediate loss of your rights to use this          #
# program as well as possible legal action.             #
#                                                       #
#########################################################
   
   
define("SCRIPTNAME",    "Simple Member");
    
define("BASEHREF",    "http://downloadcrew.bplaced.net/login/");
    
define("DOMAIN",    "localhost");
    
define("FROMEMAIL",    "mail.downloadcrew@gmx.de");
    
define("SITENAME",    "downloadcrew.bplaced.net");
    
define("INC_DIR""/users/downloadcrew/www/login/inc/");  
    
define("PAG_DIR",    INC_DIR."pages/");

    
define("INC_DB",    INC_DIR."db.php");

    
define("downloadcrew",    ""); // mysql username
    
define("*********",    ""); // mysql password
    
define("downloadcrew",    "");    // mysql database name

    
downloadcrew(INC_DB);

?>
bayway ist offline   Mit Zitat antworten
Alt 15.09.2009, 22:28  
Benutzer
 
Benutzerbild von Nico_Schubert
 
Registriert seit: 27.02.2008
Beiträge: 94
PHP-Kenntnisse:
Fortgeschritten
Nico_Schubert befindet sich auf einem aufstrebenden Ast
Standard

Nachfolgend findest Du die Anpassungen. Bitte ändern nun das Mysql Passwort, wo ********* steht. Dann sollte dies auch bei Dir gehen.

Code:
 
<?
#########################################################
# Simple Member                                         #
#########################################################
#                                                       #
# Created by: Doni Ronquillo                            #
#                                                       #
# This script and all included functions, images,       #
# and documentation are copyright 2003                  #
# free-php.net (Free PHP scripts, articles, resources and tutorials. [ free-php.net ]) unless             #
# otherwise stated in the module.                       #
#                                                       #
# Any copying, distribution, modification with          #
# intent to distribute as new code will result          #
# in immediate loss of your rights to use this          #
# program as well as possible legal action.             #
#                                                       #
#########################################################
 
   define("SCRIPTNAME", "Simple Member");
 define("BASEHREF", "http://downloadcrew.bplaced.net/login/");
 define("DOMAIN", "localhost");
 define("FROMEMAIL", "mail.downloadcrew@gmx.de");
 define("SITENAME", "downloadcrew.bplaced.net");
 define("INC_DIR", "/users/downloadcrew/www/login/inc/");
 define("PAG_DIR", INC_DIR."pages/");
 define("INC_DB", INC_DIR."db.php");
 define("MYSQLUSER", "downloadcrew"); // mysql username
 define("MYSQLPASS", "*********"); // mysql password
 define("MYSQLDB", "downloadcrew");    // mysql database name
 require(INC_DB);
?>
__________________
Benötigst Du hilfe zu Php? Dann schau doch mal meine Tutorials an. Hier bekommst Du Php Webspace für deine Php Scripte.
Nico_Schubert ist offline   Mit Zitat antworten
Alt 15.09.2009, 22:52  
Benutzer
 
Registriert seit: 09.08.2009
Beiträge: 57
PHP-Kenntnisse:
Anfänger
bayway kann nur auf Besserung hoffen
bayway eine Nachricht über ICQ schicken bayway eine Nachricht über MSN schicken bayway eine Nachricht über Yahoo! schicken
Standard

Das MySQL Passwort habe ich bereits geändert! Ich habe es nur hier ********* genannt!
Es geht immer noch Net!!!!!!
bayway ist offline   Mit Zitat antworten
Alt 15.09.2009, 22:59  
Benutzer
 
Benutzerbild von Nico_Schubert
 
Registriert seit: 27.02.2008
Beiträge: 94
PHP-Kenntnisse:
Fortgeschritten
Nico_Schubert befindet sich auf einem aufstrebenden Ast
Standard

Zitat:
Zitat von bayway Beitrag anzeigen
Das MySQL Passwort habe ich bereits geändert! Ich habe es nur hier ********* genannt!
Es geht immer noch Net!!!!!!
Die Fehlermeldung die angezeigt wird, sagt aus das es die downloadcrew() Function nicht gibt. Es dürfte diese Meldung nicht angezeigt werden, schau mal bitte bei deiner main.php

Dort muss

require(INC_DB);

und nicht

downloadcrew(INC_DB);

stehen.
__________________
Benötigst Du hilfe zu Php? Dann schau doch mal meine Tutorials an. Hier bekommst Du Php Webspace für deine Php Scripte.
Nico_Schubert ist offline   Mit Zitat antworten
Alt 16.09.2009, 15:45  
Benutzer
 
Registriert seit: 09.08.2009
Beiträge: 57
PHP-Kenntnisse:
Anfänger
bayway kann nur auf Besserung hoffen
bayway eine Nachricht über ICQ schicken bayway eine Nachricht über MSN schicken bayway eine Nachricht über Yahoo! schicken
Standard

gut,
das hat geklappt!

Jetzt gibt es eine neue Meldung

http://downloadcrew.bplaced.net/login/

Das ist die db.php:

Zitat:
<?
################################################## #######
# Simple Member #
################################################## #######
# #
# Created by: Doni Ronquillo #
# #
# This script and all included functions, images, #
# and documentation are copyright 2003 #
# free-php.net (http://free-php.net) unless #
# otherwise stated in the module. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
################################################## #######

function db_connect()
{
global $db;

if ($db)
return;

$db = mysql_connect("localhost", downloadcrew, *********);

mysql_select_db(downloadcrew, $db);

if (!$db)
{
echo "Couldn't open database!\n";
exit;
}
}

function db_disconnect()
{
global $db;

if ($db)
{
mysql_close($db);
$db = NULL;
}
}

function db_query($q)
{
global $db;

$result = mysql_query($q, $db);
return $result;
}

function db_fetch_array($result)
{
global $db;

$r = mysql_fetch_array($result);
return $r;
}

function db_query_row($q)
{
$result = db_query($q);

if (!$result)
return NULL;

$row = mysql_fetch_array($result);
return $row;
}

function db_query_value($q)
{
$row = db_query_row($q);
return $row[0];
}

function db_array_update($table, $a, $where)
{
$q = "update $table set ";
$b = NULL;

foreach($a as $key => $value)
{
if (is_int($key))
continue;

// if (isset($value) && $value != "")
$b[] = "$key='$value'";
}

$q .= implode(",", $b);
$q .= " where ".$where;

db_query($q);
}

function db_array_insert($table, $a)
{
$q = "insert into $table set ";
$b = NULL;

foreach($a as $key => $value)
{
if (is_int($key))
continue;
if ($value && $value != "")
$b[] = "$key='$value'";
}

$q .= implode(",", $b);

db_query($q);

}

function db_insert_id()
{
return mysql_insert_id();
}

function gen_id($table, $column, $size, $characters_allow)
{
for(;
{
$id = random_string($size, TRUE, $characters_allow);
$q = "select count(*) from $table where $column='$id'";
$count = db_query_value($q);
if ($count == 0)
break;
}
return $id;
}

function db_num_rows($result)
{
return mysql_num_rows($result);
}
?>

Geändert von bayway (16.09.2009 um 15:50 Uhr).
bayway ist offline   Mit Zitat antworten
Alt 16.09.2009, 21:08  
Neuer Benutzer
 
Registriert seit: 28.08.2006
Beiträge: 5
Davido
Standard MsxStudios Advanced Login

Wenn du mit dem Script nicht zurecht kommst, empfehle ich dir "Advanced Login" von MsxStudios | Advanced Login - kostenloses PHP Login Script

Das Script ist kostenfrei und wirklich einfach zu bedienen.

Lg
Davido ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Script suche Image Selector robydog Scriptbörse 5 09.03.2009 20:53
Scriptsuche Login Script flower01 Scriptbörse 4 21.02.2009 20:12
Programmierer für Login Script gesucht flower01 Beitragsarchiv 9 21.02.2009 13:23
[Erledigt] PHP/Mysql login script killerkretsche PHP Tipps 2008 24 21.08.2008 15:03
Login Script mit if-Abfrage für Rechte (in vbdg mit mySQL) haubna PHP Tipps 2008 9 18.08.2008 14:03
PHP / MySQL | Login Script Problem PHP Tipps 2006 15 17.02.2006 12:26
phpBB Loginscript in eigenes Login Script einbinden 2wuck PHP Tipps 2007 4 19.12.2005 23:10
login script macht pobs fadass PHP Tipps 2007 9 04.12.2005 10:53
Problem mit Login Script PHP Tipps 2007 4 15.11.2005 17:29
Suche - Fertigen Terminkalender Script. Beitragsarchiv 2 03.10.2005 17:25
Login Script : Addon??? Chrisber PHP Tipps 2005-2 0 27.09.2005 16:11
Suche Script zum Abfragen von Inhalten einer anderen Seite Beitragsarchiv 7 26.09.2005 19:21
Login Script... Beitragsarchiv 1 16.08.2005 02:21
Suche spezielles Login script !!!! dringend Beitragsarchiv 5 09.07.2005 14:42
[Erledigt] Suche dringend Download Script mit einmalig Paßwort Freigabe PHP Tipps 2005 6 05.04.2005 18:58

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
http://www.php.de/scriptboerse/58974-suche-ein-login-script-3.html, function db_array_insert($table, $a), advance login script

Alle Zeitangaben in WEZ +2. Es ist jetzt 23:33 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum