Probeer eens &a=a ipv ?a=a, want url is ook al een get. je hebt dan dus
?url=kees?a=a
De eerste. get moet mrt vraagteken, de rest met het en teken
?url=kees?a=a
De eerste. get moet mrt vraagteken, de rest met het en teken
Milan schreef:Object niet gevonden!Probeer eens &a=a ipv ?a=a, want url is ook al een get. je hebt dan dus
?url=kees?a=a
De eerste. get moet mrt vraagteken, de rest met het en teken
Dylanh schreef:Test.php:Dan werkt het nog steedst niet:
index:[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/require_once"]require_once[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./Modules/Get.php[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #0000BB]$allow[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]test[/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]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]])) {[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/file_exists"]file_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Templates/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000].php[/COLOR][COLOR= #007700])) {[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/in_array"]in_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$allow[/COLOR][COLOR= #007700])) {[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/str_replace"]str_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000].php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]]);[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/str_replace"]str_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000].html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]]);[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Templates/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]url[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000].php[/COLOR][COLOR= #007700]); }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]403[/COLOR][COLOR= #007700]; } }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]404[/COLOR][COLOR= #007700]; } }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Templates/index.php[/COLOR][COLOR= #007700]); }[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]a[/COLOR][COLOR= #007700]];[/COLOR]
?> [COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]a[/COLOR][COLOR= #007700]];[/COLOR]
?> RewriteEngine On
RewriteRule ^(|/)$ index.php?url=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
RewriteEngine on
RewriteRule ^(.*).htm$ $1.php [NC] <IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule> 
Shahiem schreef:Kijk eens in één van de config bestanden of je daar niet je timezone kunt aanpassen?Als ik in laravel date(h) bijvoorbeeld gebruik, dan staat er 13 ipv 14 u. En als ik bijv de timezone ophaal dan geeft hij UTC weer. Wie weet hoe ik dat weer goed kan instellen?
Raaoul schreef:Jep in application.php, daar staat UTC,Kijk eens in één van de config bestanden of je daar niet je timezone kunt aanpassen?Eerdere citaten tonen
Shahiem schreef:Als ik in laravel date(h) bijvoorbeeld gebruik, dan staat er 13 ipv 14 u. En als ik bijv de timezone ophaal dan geeft hij UTC weer. Wie weet hoe ik dat weer goed kan instellen?
Maar is het dan handig om het in te stellen op die van Amsterdam of ook van andere landen? Want mijn site moet een wereldwijde website worden, maar het is handiger om de tijden van Amsterdam te hebben voor in mijn database.Shahiem schreef:Amsterdam (holland) is volgens mij GMT+1Jep in application.php, daar staat UTC,Eerdere citaten tonen
Raaoul schreef:Kijk eens in één van de config bestanden of je daar niet je timezone kunt aanpassen?Eerdere citaten tonen
Shahiem schreef:Als ik in laravel date(h) bijvoorbeeld gebruik, dan staat er 13 ipv 14 u. En als ik bijv de timezone ophaal dan geeft hij UTC weer. Wie weet hoe ik dat weer goed kan instellen?Maar is het dan handig om het in te stellen op die van Amsterdam of ook van andere landen? Want mijn site moet een wereldwijde website worden, maar het is handiger om de tijden van Amsterdam te hebben voor in mijn database.
Sdyekbun schreef:Google AnalyticsWelke website kan ik het beste gebruiken voor mijn statistieken ? Er zijn veel websites maar wat raden jullie mij aan ?

Sdyekbun schreef:Cloudflare kan ook, anders Google analyticsWelke website kan ik het beste gebruiken voor mijn statistieken ? Er zijn veel websites maar wat raden jullie mij aan ?
Raalphh schreef:Vergeet in dat geval niet een cookiemelding te tonen op je site als je wettelijk de juiste regels wilt volgen.Google AnalyticsEerdere citaten tonen
Sdyekbun schreef:Welke website kan ik het beste gebruiken voor mijn statistieken ? Er zijn veel websites maar wat raden jullie mij aan ?