Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

main

> 编程语言
Open source

Secure router with XSS and CSRF

557 stars0 likes1 views
WebsiteGitHub

About

Secure router with XSS and CSRF

PHP ROUTER

Secure router with XSS and CSRF

  1. Download the file ".htaccess" and place it under the root directory (html, htdocs, or www) of your web server

  2. Download the file "router.php" and place it under the root directory (html, htdocs, or www) of your web server

  3. Download the file "routes.php" and place it under the root directory (html, htdocs, or www) of your web server

In the browser go to "localhost" or "127.0.0.1" and you should see the word "Index" displayed in the website.

Feel free to delete all the routes in the "routes.php" file and create your own. Most likely you want to keep the last route for "Page not found".

For details about routing, visit https://phprouter.com

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言