Q:

Write a PHP script to get the name of the owner of the current PHP script

0

Write a PHP script to get the name of the owner of the current PHP script.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<?php
echo 'Current script owner: ' . get_current_user()."\n";
?>

Sample Output:

Current script owner: students

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now