Skip to content

Instantly share code, notes, and snippets.

@proweb proweb/index.php
Created Jun 16, 2013

What would you like to do?
Easy PHP localhost landing page
<!DOCTYPE html>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<h1>It Works!</h1>
$dirs = array_filter(glob('*'), 'is_dir');
foreach ($dirs as $key => $value) {
echo('<li><a href="'.$value.'">'.$value.'</a></li>');
<!-- I have my phpMyAdmin located somewhere else -->
<li><a href="phpmyadmin">phpmyadmin</a></li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.