Acc en del

Gestart doorOne2xs32 reacties61 weergaven

33 berichten · pagina 2 van 3

Berichten
5.897
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Fanhabbo schreef:
Eerdere citaten tonen
Vriendje schreef:
Hoe bedoel je beveiligen?
Een wachtwoord.
Zoek maar op : session
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dan moet je loginsysteem maken. Ik raad je aan om de wachtwoorden op te slaan in een DB
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
1. Script werkt niet!
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
1. Uitleg klopt niet!
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@fanhabbo Dus? Wat moeten wij daarmee? Deatils??!
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Gamedealer schreef:
1. Uitleg klopt niet!
Vriendje schreef:
Dus? Wat moeten wij daarmee? Deatils??!
Als ik iets wil keuren veranderd er niks aan de tabel keur
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Klopt, want de tabel is moppen?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
update moppen set keur

dus dat klopt.
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja, dus je update de tabel moppen en niet keur.
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Ik vind ding in de code maar vind dat nergens meer terug.

toevoeging op 19 februari 2012, 161117:
Gamedealer schreef:
Ja, dus je update de tabel moppen en niet keur.
Nee, UPDATE moppen SET keur=".$waarde."

moppen= tabel
keur= kolom

toch?
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Fanhabbo schreef:
Ik vind ding in de code maar vind dat nergens meer terug.
Wees duidelijk. Wat wil je dat we doen?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../config.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]actie[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]del[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE moppen SET keur="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$waarde[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]" WHERE id="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ding[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/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]
?>


dat werkend maken
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Klopt.
Fanhabbo schreef:
Eerdere citaten tonen
Gamedealer schreef:
1. Uitleg klopt niet!
Eerdere citaten tonen
Vriendje schreef:
Dus? Wat moeten wij daarmee? Deatils??!
Als ik iets wil keuren veranderd er niks aan de tabel keur
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Fanhabbo schreef:
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../config.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]actie[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]del[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE moppen SET keur="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$waarde[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]" WHERE id="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ding[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/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]
?>
dat werkend maken

PHp afronden en dan zomaar opnieuw starten. Handig en heel nuttig.
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Vriendje schreef:
Eerdere citaten tonen
Fanhabbo schreef:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../config.php[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]actie[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]del[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$waarde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE moppen SET keur="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$waarde[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]" WHERE id="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ding[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/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]
?>
dat werkend maken
PHp afronden en dan zomaar opnieuw starten. Handig en heel nuttig.

Maar wat klopt er niet?

toevoeging op 19 februari 2012, 161528:
".mysql_real_escape_string($_GET[ding])."

Klopt dat stukje wel?
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