Todo
Allowed regex matching in $get and $post
Added valid_filename()
Moved error templates