scriptz-team

[PHP] GET DiSABLED PHP FUNCTiONS

Jun 30th, 2012
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <?php
  2. /*
  3. _____ _____ _ _____ _____ _____ _____ _____ _____
  4. ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
  5. |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
  6. |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
  7. |s C R i P T z - T E A M . i N F O|
  8.  
  9. GET DiSABLED PHP FUNCTiONS
  10. */
  11. error_reporting(0);
  12. $disabled_functions = ini_get('disable_functions');
  13. if ($disabled_functions != '') {
  14. $arr = explode(',', $disabled_functions);
  15. sort($arr);
  16. echo 'Disabled Functions:<br />
  17. ';
  18. for ($i = 0; $i < count($arr); $i++) {
  19. echo $i . ' - ' . $arr[$i] . '<br />';
  20. }
  21. } else {
  22. echo 'No functions disabled';
  23. }
Advertisement
Add Comment
Please, Sign In to add comment