The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: passthru
Author: Dan Langille 
Date:   21-08-01 21:27

Right you are. Thanks.

For the record, here's the original script:

<title>FreeBSD Diary uptime via php3 passthru</title>
<body>

<?php
$uptime = passthru ("/usr/bin/uptime");
echo "<font face=\"Tahoma\" size=\"1\">$uptime</font></p>";
?>

</body>
</PRE>

The new script is:

html><title>FreeBSD Diary uptime via php3 passthru</title>
<body>

<font face="Tahoma" size="1"><?php
passthru ("/usr/bin/uptime");
?></font></p>

</body>

But I'm going to remove the font declaration anyways.

I'll amend the article accordingly.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 passthru   new
rev 21-08-01 21:02 
 Re: passthru   new
Dan Langille 21-08-01 21:27 
 Re: passthru   new
matthew 04-05-02 17:31 
 Re: passthru   new
e11even 12-04-17 17:16 
 Re: passthru   new
Dan 12-04-17 18:25 
 Re: passthru   new
Dan 22-08-17 20:14 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org