Zoals je ziet zoekt hij dus in premium...
http://sander.vanmarijn.nl/premium/testje
Hoe kan ik zorgen dat hij daar niet zoekt?
http://sander.vanmarijn.nl/premium/testje
Hoe kan ik zorgen dat hij daar niet zoekt?
Sanderc schreef:Is dat voor een cronjob?Zoals je ziet zoekt hij dus in premium...
http://sander.vanmarijn.nl/premium/testje
Hoe kan ik zorgen dat hij daar niet zoekt?
Shahiem schreef:Nee, ik include header.php in tesje.php, en in header.php staat dit:http://sander.vanmarijn.nl/premium/testjeEerdere citaten tonen
Sanderc schreef:Zoals je ziet zoekt hij dus in premium...
Hoe kan ik zorgen dat hij daar niet zoekt?
Is dat voor een cronjob?
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]ip_allow.php[/COLOR][COLOR= #007700]);[/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/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]show.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]reacties.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]stemmen.php[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]// Ban Check[/COLOR]
[COLOR= #0000BB]$bQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM system_ipban WHERE bIp = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bQuery[/COLOR][COLOR= #007700]) !=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"U bent verbannen"[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
}[/COLOR]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="style/css.css" rel="stylesheet" type="text/css" />
<script src="http://www.w3schools.com/jquery/jquery.js"></script>
<script>
$(document).ready(function(){
$("#flip").click(function(){
$("#panel").slideToggle("slow");
});
});
</script>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] _TITEL_ [COLOR= #007700].[/COLOR][COLOR= #DD0000] | [/COLOR][COLOR= #007700].[/COLOR]_NAAM_[COLOR= #007700];[/COLOR] ?></title>
</head>
<body>
<div id="menu"><a href="/index">Home</a> <a href="/videohoek">Videohoek</a></div>
<div id="content"> Sanderc schreef:Staat header in een map of gewoon in dezelfde maps als ip_allow?Nee, ik include header.php in tesje.php, en in header.php staat dit:Eerdere citaten tonen
Shahiem schreef:http://sander.vanmarijn.nl/premium/testjeEerdere citaten tonen
Sanderc schreef:Zoals je ziet zoekt hij dus in premium...
Hoe kan ik zorgen dat hij daar niet zoekt?
Is dat voor een cronjob?[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR] [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]ip_allow.php[/COLOR][COLOR= #007700]);[/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/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]show.php[/COLOR][COLOR= #007700]);[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]reacties.php[/COLOR][COLOR= #007700]);[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]stemmen.php[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #FF8000]// Ban Check[/COLOR] [COLOR= #0000BB]$bQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM system_ipban WHERE bIp = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bQuery[/COLOR][COLOR= #007700]) !=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"U bent verbannen"[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]; }[/COLOR] ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="style/css.css" rel="stylesheet" type="text/css" /> <script src="http://www.w3schools.com/jquery/jquery.js"></script> <script> $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); }); </script> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] _TITEL_ [COLOR= #007700].[/COLOR][COLOR= #DD0000] | [/COLOR][COLOR= #007700].[/COLOR]_NAAM_[COLOR= #007700];[/COLOR] ?></title> </head> <body> <div id="menu"><a href="/index">Home</a> <a href="/videohoek">Videohoek</a></div> <div id="content">
Dylanh schreef:Iemand?mysql_num_rows();Eerdere citaten tonen
Sanderc schreef:Hoe kan ik zeggen met php hoeveel leden er in mijn tabel "leden" zitten?
Wat is veiliger:[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR] ?>
of[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/ini_set"]ini_set[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]session.cookie_httponly[/COLOR][COLOR= #007700],[/COLOR] true[COLOR= #007700]);[/COLOR] [URL="http://www.php.net/session_start"]session_start[/URL][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]my_ip[/COLOR][COLOR= #007700]]) ===[/COLOR] false[COLOR= #007700]) {[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]my_ip[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]]; }[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]my_ip[/COLOR][COLOR= #007700]] !==[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]]) {[/COLOR] [URL="http://www.php.net/session_unset"]session_unset[/URL][COLOR= #007700]();[/COLOR] [URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700](); }[/COLOR] ?>
De laatste toch??

Hier een stukje code:<div class="blog left">
<h3>Aftellen</h3>
<ul>
include test.php;
</ul>
</div>
<!-- end latest news --> Jellerth schreef:Wat dacht je van het tussen de php tags te zettenIk gebruik include maar het werkt niet, op de pagina komt dan gewoon die include code te staanHier een stukje code:
<div class="blog left"> <h3>Aftellen</h3> <ul> include test.php; </ul> </div> <!-- end latest news -->

Guillamos schreef:Wat dacht je van het tussen de php tags te zettenEerdere citaten tonen
Jellerth schreef:Ik gebruik include maar het werkt niet, op de pagina komt dan gewoon die include code te staanHier een stukje code:
<div class="blog left"> <h3>Aftellen</h3> <ul> include test.php; </ul> </div> <!-- end latest news -->


<div class="blog left">
<h3>Aftellen</h3>
<ul>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]test.php[/COLOR][COLOR= #007700];[/COLOR] ?>
</ul>
</div>
<!-- end latest news --> Nielsjojo schreef:Dit hoort toch te werken?<div class="blog left"> <h3>Aftellen</h3> <ul> [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]test.php[/COLOR][COLOR= #007700];[/COLOR] ?> </ul> </div> <!-- end latest news -->
<html>
<body>
<div id="container"></div>
<div id="footer"></div>
</body>
</html> #footer {
width: 1000px;
height: 124px;
background: url (images/footer.png);
} 
Dylanh schreef:Dit topic is niet bedoeld voor dit soort berichten!Kan iemand mij helpen:
http://www.one2xs.com/threads/45890
Options +FollowSymLinks +MultiViews
RewriteEngine On
RewriteRule ^([wd]{4})$ home?username=$1 