[SITE CHECK] Mijn websites...

Gestart doorStanieboy44 reacties73 weergaven

45 berichten · pagina 3 van 3

Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
..Door simpelweg htmlentities(); of htmlspecialchars(); toe te voegen.
Denk je nou echt dat je hier iemand mee in de problemen komt, Stanieboy?
0
Stanieboy

Lid · Topicstarter

Berichten
435
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Waar moet ik die htmlentities(); plaatsen, ik heb het nog nooit ergens geplaatst...
0
Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
O-M-G.
Je zei dat je 75% van PHP weet.. en je weet niet eens waar je het moet plaatsen?
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Stanieboy schreef:
Waar moet ik die htmlentities(); plaatsen, ik heb het nog nooit ergens geplaatst...
Tussen je variable.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Ik zat efe wat te kijken maar je site faalt emo
<script>alert("LOOOL");</script>


Als bericht / naam in berichtenbalk emoemo!!
0
Stanieboy

Lid · Topicstarter

Berichten
435
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Shahiem schreef:
Eerdere citaten tonen
Stanieboy schreef:
Waar moet ik die htmlentities(); plaatsen, ik heb het nog nooit ergens geplaatst...
Tussen je variable.
Wat bedoel je daar mee?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Stanieboy schreef:
Eerdere citaten tonen
Shahiem schreef:
Eerdere citaten tonen
Stanieboy schreef:
Waar moet ik die htmlentities(); plaatsen, ik heb het nog nooit ergens geplaatst...
Tussen je variable.
Wat bedoel je daar mee?
Spoiler tonen
EPIC FAIL emo
Bijvoorbeeld $berichtenFetch[bericht]; = een variable
0
Stanieboy

Lid · Topicstarter

Berichten
435
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat heb ik ook (denk ik):

[COLOR= #0000BB]<?
$Query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM `gastenboek` ORDER BY id DESC LIMIT 5"[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Query[/COLOR][COLOR= #007700]))
{[/COLOR]
[COLOR= #0000BB]$door[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]],[/COLOR] ENT_QUOTES[COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR]   [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]],[/COLOR] ENT_QUOTES[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/print"]print[/URL][COLOR= #DD0000] [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] - [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] | [/COLOR][COLOR= #007700];
}[/COLOR]
?>
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
WTF

Jij zegt dat je 75% PHP kan?

print = sloom
gebruik echo

en waarom maak je $door en $bericht aan je gebruikt ze niet?
en btw weet je wat uitlijnen is?
0
Stanieboy

Lid · Topicstarter

Berichten
435
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb nu echo etc,
Dit heb ik nu:

[COLOR= #0000BB]<?
$Query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM `gastenboek` ORDER BY id DESC LIMIT 5"[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Query[/COLOR][COLOR= #007700]))
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000][/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] - [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] | [/COLOR][COLOR= #007700];
}[/COLOR]
?>
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Stanieboy schreef:
Ik heb nu echo etc,
Dit heb ik nu:

[COLOR= #0000BB]<?
$Query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM `gastenboek` ORDER BY id DESC LIMIT 5"[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Query[/COLOR][COLOR= #007700]))
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000][/COLOR][COLOR= #007700].[/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000] - [/COLOR][COLOR= #007700].[/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$headinfo[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000] | [/COLOR][COLOR= #007700];
}[/COLOR]
?>
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@Nielsie, hij weet wat een variabele is maar niet wat eromheen moet.

2. Hij is 11 jaar

3.print is niet zo traag maar wel met typen omdat het 5 letters zijn en echo maar 4 yummie
0
Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kyron schreef:
2. Hij is 11 jaar
ik ben ook 11.. maar ik weet toch ook gewoon wat het betekend?
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sebastiaanh schreef:
Eerdere citaten tonen
Kyron schreef:
2. Hij is 11 jaar
ik ben ook 11.. maar ik weet toch ook gewoon wat het betekend?
Hij weet niet waar hij het moet plaatsen, maar wel wat een variabele is. Daar was mijn reactie op bedoeld, niet op jou.
0
Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kyron schreef:
Eerdere citaten tonen
Sebastiaanh schreef:
Eerdere citaten tonen
Kyron schreef:
2. Hij is 11 jaar
ik ben ook 11.. maar ik weet toch ook gewoon wat het betekend?
Hij weet niet waar hij het moet plaatsen, maar wel wat een variabele is. Daar was mijn reactie op bedoeld, niet op jou.
Dat weet ik..
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