diff options
Diffstat (limited to 'functions/connection.php')
-rw-r--r-- | functions/connection.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/functions/connection.php b/functions/connection.php index b0357b9..de8cdb8 100644 --- a/functions/connection.php +++ b/functions/connection.php @@ -225,12 +225,14 @@ if ( $read_stream === false ) { if ( fixed_gethostbyname($host) ) { ?> <tr> - <td>IP / Hostname</td> + <td>IP / Hostname / Port</td> <td> <?php - echo fixed_gethostbyname($host); + echo htmlspecialchars(fixed_gethostbyname($host)); echo " - "; - echo gethostbyaddr(fixed_gethostbyname($host)); + echo htmlspecialchars(gethostbyaddr(fixed_gethostbyname($host))); + echo " - "; + echo htmlspecialchars($port); ?> </td> </tr> |