That's what I'm saying. 99% of the work is getting the requirements from the client, their design etc. Here's some script which is full of bugs and gets you what you payed for: I started at 12:27PM, finished at 12:31pm. admin.php uniqid(), 'title' => $title, 'content' => $content]; } elseif ($action === 'update') { foreach ($pages as &$page) { if ($page['id'] === $id) { $page['title'] = $title; $page['content'] = $content; break; } } } elseif ($action === 'delete') { $pages = array_filter($pages, function($page) use ($id) { return $page['id'] !== $id; }); } savePages($pages); header('Location: admin.php'); exit; } $pages = getPages(); ?> Admin Panel

Admin Panel

Create New Page

Existing Pages

login.php Login

Login

.htaccess AuthType Basic AuthName "Restricted Area" AuthUserFile /path/to/.htpasswd Require valid-user .htpasswd admin:$apr1$q9mvbkia$jgejsle4u56Bf5e1KwIrw1 And to view: .htaccess RewriteEngine On RewriteBase / # If the requested file doesn't exist, route to our PHP handler RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ page_handler.php?page=$1 [L,QSA] Plus a stupid page where you might want to whitelist some URLs: 404 Not Found"; echo "

The requested page '" . htmlspecialchars($requestedPage) . "' could not be found.

"; } ?>