Skip to content

Instantly share code, notes, and snippets.

@jpalala
Created July 18, 2012 06:20
Show Gist options
  • Save jpalala/3134566 to your computer and use it in GitHub Desktop.
Save jpalala/3134566 to your computer and use it in GitHub Desktop.
PHP scan files inside current directory
<?php
print_r(scandir(getcwd()));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment