Config.php bestand wth?

Gestart doorReins7 reacties24 weergaven

8 berichten · pagina 1 van 1

Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
He,
ik heb deze van habbers gedownload (http://www.habbers.nl/index.php?showtopic=83619)
maar nu snap ik niks van die config?
Kan iemand me ff helpen?
je krijgt wol 0.02 ofzo biggrin
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"deb5445n3_habber"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"cOver11002"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"deb5445n3_habber"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());

function[/COLOR] sql[COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$func[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$func[/COLOR][COLOR= #007700];
}[/COLOR] 

[COLOR= #0000BB]$site[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]VOORBEELD[/COLOR][COLOR= #007700];[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]admin[/COLOR][COLOR= #007700]])){[/COLOR]
[COLOR= #0000BB]$admin_menu[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<a href="admin.php">Code aanmaken</a> | <a href="admin_beheren.php">Codes beheren</a> | <a href="admin_toegestaan.php">Toegang beheren</a> | <a href="uitloggen.php">Uitloggen</a>[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$admin_menu[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];
}[/COLOR]

?>
0
Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"GEBRUIKERSNAAM"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"WACHTWOORD"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"DATABASENAAM"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());

function[/COLOR] sql[COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$func[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$func[/COLOR][COLOR= #007700];
}[/COLOR]

[COLOR= #0000BB]$site[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Sitenaam[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]admin[/COLOR][COLOR= #007700]])){[/COLOR]
[COLOR= #0000BB]$admin_menu[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<a href="admin.php">Code aanmaken</a> | <a href="admin_beheren.php">Codes beheren</a> | <a href="admin_toegestaan.php">Toegang beheren</a> | <a href="uitloggen.php">Uitloggen</a>[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$admin_menu[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];
}[/COLOR]

?>
0
Berichten
1.245
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
dat is zeker beta script xd?
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja xdMaar bedankt thumbsupVergoeding hebben?
0
Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoeft niet hoor maar is altijd welkom.
0
Berichten
96
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Deze php code is van een ubercms.. hmm Ik heb daarvoor een veel andere code.
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Waarom haal je dit topic omhoog? Sjeez sm_eerie
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Idd wat heeft dat nou weer voor nut?
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren