Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
update.php
Package: mrtg-2.13.2.zip [view]
Upload User: shbosideng
Upload Date: 2013-05-04
Package Size: 1555k
Code Size: 1k
Category:
SNMP
Development Platform:
C/C++
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
- <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
- <meta name="ProgId" content="FrontPage.Editor.Document">
- <title>MRTG remove switch:</title>
- </head>
- <body>
- <p><b><u>MRTG update switch stats:</u></b></p>
- <FORM ACTION=update.php METHOD=POST>
- <table border="0" width="100%">
- <tr>
- <td width="12%">Switch:</td>
- <td width="88%"><select size="1" name="switch">
- <?
- include ("e:\mrtg\conf\config.inc.php");
- $dir = dir($mrtg_config_dir);
- // echo "<ul>";
- while($filename=$dir->read()) {
- if (eregi(".(cfg)$",$filename))
- echo "<option value=".substr($filename, 0, -4).">".substr($filename, 0, -4)."</option>";
- }
- $dir->close();
- //echo "</ul>";
- ?>
- </select></td>
- </tr>
- </table>
- <br>
- <input type="submit" value="Update" name="B1">
- </form>
- <hr>
- </body>
- </html>
- <?
- // Include config file with path variable, etc...
- include ("e:\mrtg\conf\config.inc.php");
- if($REQUEST_METHOD == "POST"){
- system ($perl_exe." ".$mrtg_exe." ".$mrtg_config_dir.$switch.".cfg");
- echo "Mrtg stats for <b><a href=".$switch.".html".">".$switch."</a></b> updated...<br>";
- }
- echo "<br><a href=./>Back to index</a>";
- ?>