Advertisement
flwkjlwekjfs

Untitled

Jul 15th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. i have this code
  2.  
  3. <?php
  4. if (!include("/home/user/website/racktables/inc/secret.php")){
  5. printf("unable to get config file\n");
  6. } else {
  7. printf($db_username."\n");
  8. }
  9. ?>
  10.  
  11. if i run it from the command line it works, but if i view it in a browser it fails.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement