Advertisement
danielcristho

index.php

Oct 8th, 2023 (edited)
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | Source Code | 0 0
  1. <?php
  2. $hostname = gethostname();
  3. $date = date('Y-m-d H:i:s');
  4. $php_version = phpversion();
  5. $username = get_current_user();
  6.  
  7.  
  8.  
  9. echo "Hello World!<br>";
  10. echo "Saya adalah: $username<br>";
  11. echo "Saat ini berada di: $hostname<br>";
  12. echo "Versi PHP yang saya gunakan: $php_version<br>";
  13. echo "Tanggal saat ini: $date<br>";
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement