AW: Uptime on Remote computer?

2002-08-11 Thread Angerstein
You need one of the following modules: net::snmmp udc::snmp (now net-snmp, little confusing) and you need an mib-browser (xnmbrowser for example). Both Modules are well documented, net::snmp is harder to use but i trust it the most. Download the Modules and view the examples. > -Ursprüngli

Re: Uptime on Remote computer?

2002-08-11 Thread Morten Liebach
On 2002-08-11 13:19:13 -0800, Mark Weisman wrote: > Hello List: > What is the command structure to grab an uptime request from a remote > computer? I have several systems in my organization that I would like to > grab the uptime for, then post them to a dynamic web page. The web page > I've alre

Re: How to give a name for a file?

2002-08-11 Thread chris
If you want the user to be prompted to save the data you are sending, such as a generated PDF file, you can use the Content-Disposition header to supply a recommended filename and force the browser to display the save dialog. "Content-Disposition: attachment; filename=dl.mp3" On Mon, 12 Aug 200

RE: How to write a Regex to modify numbers in the particular context within a file?

2002-08-11 Thread David . Wagner
Unclear what you are really trying to do. Before compiling, you need to insure that the Network has a starting number and then after that, it should increment by 1. Can code be sucked into an array and worked with from there? Or should the script find the first entry which matche

working the SMTP problem

2002-08-11 Thread drieux
On Sunday, August 11, 2002, at 02:50 , Bogdan Mihaila wrote: > Hello, > > Thank you for your response. > > I have an web mail system. It uses sendmail. But my > host don't let me to send more than 100 mails daily. > So I want to send emails without using their sendmail > program or a SMTP server

How to give a name for a file?

2002-08-11 Thread Connie Chan
I have a script that read and then print a binary file on runtime, which actually mean to a file is for download. I mean, not like this : Download. However, I don't know how to give a name for the file. I've use this header : print "Content-type: audio/mp3\r\n\r\n"; and my script 's name is d

Uptime on Remote computer?

2002-08-11 Thread Mark Weisman
Hello List: What is the command structure to grab an uptime request from a remote computer? I have several systems in my organization that I would like to grab the uptime for, then post them to a dynamic web page. The web page I've already got done, I just need the command structure for grabbing

Re: Array

2002-08-11 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > Hello, Hello, > My question is most likely not unique. I just have not been able to find > the solution on my own. > > I would like to read lines of text from a file into an array, and perform > some action on each line. > ** > Somethin

Re: Array

2002-08-11 Thread Connie Chan
I hope that's what you want : #FILEB.pl use strict; use warnings; my $fileA = 'somewhere'; open (FILE_A, "$fileA"); my @DirList = ; ## So read all line close (FILE_A); foreach my $dir (@DirList) { chomp $dir; # chomp : This might be not nesessary, I don't know, # but this is

Array

2002-08-11 Thread MikeV
Hello, My question is most likely not unique. I just have not been able to find the solution on my own. I would like to read lines of text from a file into an array, and perform some action on each line. ** Something like: FileA contains a list of absolute paths (/o

How to write a Regex to modify numbers in the particular context within a file?

2002-08-11 Thread Alexei Lioubimov
Hello, I'm trying to solve the following task: In a .c source file among others I have some comments of special form: /* Network : These comments marks special peaces of source code. is a number, that must be incremented in succession in every "Network". During the programming user can ad