Re: HTML Help
From: Charles Lavin (x_at_x.x)
Date: 10/10/05
- Previous message: Kevin Bowling: "SCSI Host to SSA Loop adapter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 10 Oct 2005 02:19:43 -0400
If you have PHP installed, try something like this:
<body>
<?php
exec("uname -n",$result,$rval);
echo "<h1 align=\"center\"> $result[0] System Reports<br>";
?>
Authorised Personnel Only!</h1>
<p align="center">Please contact
<a href="mailto:mikev@beverlycorp.com?subject=System Access
Request">Mike Van
Hoff</a> for assistance.</p>
<a href=/SAR/index.html>System Activity Reports</a><br>
<a href=/eyscan/index.html>System Audit Report - requires login</a>
</body>
HTH,
CL
<mikev@vanhoff.com> wrote in message
news:1117205857.783040.183850@o13g2000cwo.googlegroups.com...
>I have an html page that I would like to insert the machine name it is
> running on. My current code is below, but the result is not as
> expected. It shows my system call instead of the result.
>
> Any suggestions will help.
>
> Thanks in advance.
>
> <head>
> <meta http-equiv="Content-Language" content="en-us">
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <title>Home Page</title>
> </head>
>
> <body>
> <h1 align="center">`uname -n` System Reports<br>
> Authorised Personnel Only!</h1>
> <p align="center">Please contact
> <a href="mailto:mikev@beverlycorp.com?subject=System Access
> Request">Mike Van
> Hoff</a> for assistance.</p>
> <a href=/SAR/index.html>System Activity Reports</a><br>
> <a href=/eyscan/index.html>System Audit Report - requires login</a>
> </body>
>
> </html>
>
- Previous message: Kevin Bowling: "SCSI Host to SSA Loop adapter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]