SHARE
TWEET

Untitled

a guest Apr 24th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@xxx:~# cat test.php
  2. <?php
  3.  
  4. var_dump(glob('my_dns_test_folder/*.dns'));
  5. root@xxx:~# ls my_dns_test_folder/
  6. documentation__which_never_exists.md  noideaB.dns  zoneA.dns
  7. root@xxx:~# php test.php
  8. array(2) {
  9.   [0]=>
  10.   string(30) "my_dns_test_folder/noideaB.dns"
  11.   [1]=>
  12.   string(28) "my_dns_test_folder/zoneA.dns"
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top