Wie kan me helpen hier voor 6 punten om een config.php te maken van mijn site.
reactie mag geplaatst worden en geen nutteloze aub.
reactie mag geplaatst worden en geen nutteloze aub.
[COLOR= #0000BB]<?php
$host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je host meestal localhost [/COLOR]
[COLOR= #0000BB]$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL gebruikersnaam[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL wachtwoord[/COLOR]
[COLOR= #0000BB]$datb[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL database
// Verbinding maken[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$pass[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het connectie maken met de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$datb[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het selecteren van de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
?> Kingunit schreef:een config file?zielig mensen
[COLOR= #0000BB]<?php
$host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je host meestal localhost [/COLOR]
[COLOR= #0000BB]$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL gebruikersnaam[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL wachtwoord[/COLOR]
[COLOR= #0000BB]$datb[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL database
// Verbinding maken[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$pass[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het connectie maken met de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$datb[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het selecteren van de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
?> Kingunit schreef:een config file?zielig mensen
[COLOR= #0000BB]<?php
$host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je host meestal localhost [/COLOR]
[COLOR= #0000BB]$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL gebruikersnaam[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL wachtwoord[/COLOR]
[COLOR= #0000BB]$datb[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL database
// Verbinding maken[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$pass[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het connectie maken met de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$datb[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het selecteren van de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
?>
Deze is gewoon zelf met mijn eigen hand geschreven.Kingunit schreef:Timmie:
Kingunit schreef:een config file?zielig mensen
[COLOR= #0000BB]<?php
$host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je host meestal localhost [/COLOR]
[COLOR= #0000BB]$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL gebruikersnaam[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL wachtwoord[/COLOR]
[COLOR= #0000BB]$datb[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"********"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Je MySQL database
// Verbinding maken[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$pass[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het connectie maken met de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$datb[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er is een fout bij het selecteren van de DataBase"[/COLOR][COLOR= #007700]);[/COLOR]
?>
Deze is gewoon zelf met mijn eigen hand geschreven.Rastabanana schreef:P.S: josnl krijgt na dat de loginscript is gemaakt zijn 1 punt.wie kan me helpen met het login script die gene die het gelukt is krijgt 6 punten.
