Skip to content

Commit ed15320

Browse files
committed
Create phpinfo.php
1 parent 9195f5e commit ed15320

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

phpinfo.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
echo 'Current PHP version: ' . phpversion() . "\n";
3+
echo phpversion('tidy') . "\n";
4+
echo ' Current User: ' . get_current_user() . "\n";
5+
echo "\n";
6+
echo exec('curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g') . "\n";
7+
phpinfo();
8+
phpinfo(INFO_ALL);
9+
?>

0 commit comments

Comments
 (0)