Guest User

Untitled

a guest
May 4th, 2012
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. thedigitalmachine ~ # ls -ld /spiceflow
  2. drwxrwxr-x 7 m apache 4096 Aug 28 2011 /spiceflow
  3. thedigitalmachine ~ # ls -ld /spiceflow/dune
  4. drwxrwxr-x 12 m users 0 Mar 23 11:54 /spiceflow/dune
  5. thedigitalmachine ~ # ls -ld /spiceflow/dune/raid
  6. drwxrwxr-x 12 m users 0 Apr 22 21:56 /spiceflow/dune/raid
  7. thedigitalmachine ~ #
  8.  
  9.  
  10. m@thedigitalmachine ~/development/Reusable/PHP/scrap $ cat test.php
  11. <?php
  12.  
  13. echo realpath('/spiceflow/dune'); echo "\n";
  14. echo realpath('/spiceflow/dune/raid'); echo "\n";
  15.  
  16. if (!is_readable('/spiceflow/dune' )){ echo "nodune\n"; }
  17. if (!is_readable('/spiceflow/dune/raid' )){ echo "noraid\n"; }
  18.  
  19. ?>
  20. m@thedigitalmachine ~/development/Reusable/PHP/scrap $ php test.php
  21. /spiceflow/dune
  22.  
  23. noraid
Advertisement
Add Comment
Please, Sign In to add comment