Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dir = "./";
- foreach (glob ($dir."*", GLOB_ONLYDIR) as $pastas) {
- if (is_dir ($pastas)) {
- echo "Motorista: ";
- echo str_replace ( $dir,"",$pastas)." <img style='width: 20px; height: 20px;' src="icon-motorista.png"/> - <a href="$pastas">Olhar pasta</a><br />";
- echo "";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement