Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_GET['page'])) {
- $page = addslashes(htmlspecialchars($_GET['page']));
- if ($page == 'register') {
- echo 'Регистрацията отнема по-малко от 1 минута.';
- include_once 'register.php';
- }
- else {
- echo 'Няма такава страница.';
- }
- }
- else if ($_SERVER['PHP_SELF'] == '/test/index.php') {
- echo 'Новинички';
- }
- else {
- echo 'Няма такава страница.';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement