-
Notifications
You must be signed in to change notification settings - Fork 0
Regex
JulianFun123 edited this page Jun 22, 2019
·
3 revisions
The Devermrouter has got regex support since version 2.0
Using RegEx is very simple!
$route = [
"/regexsupport/([a-z]*)" => "customtest.php"
];
Getting the input:
echo $_ROUTEVAR[1]; // It starts with 1
Using RegEx is very simple!
$route = [
"/regexsupport/([a-z]*)/([a-z]*)" => "customtest.php"
];
Getting the input:
echo $_ROUTEVAR[1];
echo $_ROUTEVAR[2];
Devern Router made by JulianFun123 @ InteraApps.de!