How to use Perl function system in a Windows environment?

2006-01-31 Thread Mary Anderson
OK, this isn't strictly a CGI question, but I would like to do a couple of things from my perl/CGI script One is to run an EXCEL macro on an EXCEL spreadsheet. Another is to send mail to a user automatically from my web application. I know how to do this in UNIX -- how do I do it in WIN

Re: How can I make my CGI script more efficient when I have to call a C programme using "system"?

2005-11-26 Thread Bryce Harrington
On Sat, Nov 26, 2005 at 09:47:33PM +0800, He Nan wrote: > In my script there is a external C programme , I have to call it every time > when the script runs . > But the C programme needs to load big dictionary , the time consuming is > more than 5 seconds . > What should I do to make it more effici

How can I make my CGI script more efficient when I have to call a C programme using "system"?

2005-11-26 Thread He Nan
In my script there is a external C programme , I have to call it every time when the script runs . But the C programme needs to load big dictionary , the time consuming is more than 5 seconds . What should I do to make it more efficient , could I modify the C programme so that when it runs for the

RE: implementing links on a system command output

2005-11-08 Thread DBSMITH
PM Subject RE: implementing links on a system command output(Document link: Derek

RE: implementing links on a system command output

2005-11-04 Thread DBSMITH
Subject RE: implementing links on a system

RE: implementing links on a system command output

2005-10-21 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : thx Charles, but your code is something I did knew (sic) already. : I need to implement a link for each H string and I do not see : this??? I assume by "implement a link" you mean that you want to create an HTML ANCHOR tag for each H Strin

RE: implementing links on a system command output

2005-10-21 Thread DBSMITH
Subject RE: implementing links on a system

RE: implementing links on a system command output

2005-10-21 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : The difficulty is that $_ is an entire block of data that : includes more than just H strings and therefore I cannot link : all of $_ which is why I placed just the H strings from $_ in an : array. From this array, I was thinking of traversing

RE: implementing links on a system command output

2005-10-21 Thread DBSMITH
Subject RE: implementing links on a system

RE: implementing links on a system command output

2005-10-20 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : ok here is what I am trying to do. In the atached doc it shows : output from my perl cgi program ... You sent this as a MS Word document. When I open it, Word converts it to a word web view and when I view the code I get a Word trashed htm

RE: implementing links on a system command output

2005-10-18 Thread Charles K. Clarkson
It is used to separate the cgi script name from the list of fields. I think RFC 2396 explains URIs. : understand that the H_string will be generated from a system : command for every $_ and it looks like : : sf.H02047 capacty: 189.1G space: 117.7G Can you show more examples. (Is capacit

Re: implementing links on a system command output

2005-10-18 Thread Greg Jetter
cker . in your case If you got a script to produce additional output and your trying to pass a value you could do somthing like the above. Just one way of many. > > understand that the H_string will be generated from a system command for > every $_ > and it looks like

Re: implementing links on a system command output

2005-10-18 Thread DBSMITH
PM Subject Re: implementing links on a system command

Re: implementing links on a system command output

2005-10-14 Thread DBSMITH
PM Subject Re: implementing links on a system command

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
10/14/2005 11:56 cc > AM >Subject > Re: implementing links on a system >command out

Re: implementing links on a system command output

2005-10-14 Thread DBSMITH
AM Subject Re: implementing links on a system command

Re: implementing links on a system command output

2005-10-14 Thread Jay Savage
puts. The inputs > are generally going to be forms in plain HTML documents or as generated > by the output from CGI scripts; the outputs will generally be generated > from CGI scripts, though in some cases could be static HTML, too. You > may want to sketch things out on paper rather tha

Re: implementing links on a system command output

2005-10-14 Thread Chris Devers
ts or as generated by the output from CGI scripts; the outputs will generally be generated from CGI scripts, though in some cases could be static HTML, too. You may want to sketch things out on paper rather than just blindly start coding things. If some part of the input system is doing too m

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
0/12/2005 05:52 cc > PM >Subject >implementing links on a system >command output > > > > > > > &g

Re: implementing links on a system command output

2005-10-14 Thread DBSMITH
implementing links on a system command output

implementing links on a system command output

2005-10-12 Thread DBSMITH
I have written a CGI Perl program that allows my users to view relevant data. The data is produced by a Unix application command and I have told it to write to a intranet page that looks like: |--| | ( ) | |--|All-Clients |--| | ( ) | |--|Backup-Tapes |--| | ( ) | |--|PA

Re: Output of a command executed by system

2004-10-21 Thread Jan Eden
Hi Sean, Sean Davis wrote on 21.10.2004: >If the output is to stderr for some reason, you could try ">& >/dev/null". Sorry, there was a typo in my initial attempt to redirect. It works as expected with ">/dev/null". Thanks, Jan -- Common sense is what tells you that the world is flat. -- T

Re: Output of a command executed by system

2004-10-21 Thread Sean Davis
If the output is to stderr for some reason, you could try ">& /dev/null". Sean On Oct 21, 2004, at 7:36 AM, Jan Eden wrote: Hi, this must be simple, but I cannot seem to find it: When executing a command via system within a CGI script, the command's output appears in my

Output of a command executed by system

2004-10-21 Thread Jan Eden
Hi, this must be simple, but I cannot seem to find it: When executing a command via system within a CGI script, the command's output appears in my browser. I do not use CGI::Carp. How can I suppress this? I tried to redirect the output the shell way ("> /dev/null"), but that

Re: System()

2004-05-12 Thread Wiggins d Anconia
> Hi, > > I have tried: > > system("zip", "-r", "archive", "*"); > > But this tells me that the file "*" cannot be found. > I guess the shell thinks that I want to pass the quoted string "*" and not > o

System()

2004-05-12 Thread Octavian Rasnita
Hi, I have tried: system("zip", "-r", "archive", "*"); But this tells me that the file "*" cannot be found. I guess the shell thinks that I want to pass the quoted string "*" and not only the * character to match all files. I have

Re: changing system password

2004-03-17 Thread Andrew Gaffney
Paul Archer wrote: My guess is that since you're running sudo, sudo itself is asking for a password *for the nobody/apache account*, where it's set up not to ask you for a password (which is bad mojo), or you already ran sudo once and you've got a valid ticket. Well, I don't know why my script didn

Re: changing system password

2004-03-17 Thread Paul Archer
My guess is that since you're running sudo, sudo itself is asking for a password *for the nobody/apache account*, where it's set up not to ask you for a password (which is bad mojo), or you already ran sudo once and you've got a valid ticket. Paul Archer 11:38am, Andrew Gaffney wrote: > I'm desi

changing system password

2004-03-17 Thread Andrew Gaffney
I'm designing a simplified user management interface, similar to Webmin's. Since I'm using mod_perl, I just allowed the 'apache' user to execute certain commands using sudo. I've written a command line version that works just fine: #!/usr/bin/perl use Expect; my $user = shift; my $password = s

RE: CGI.pm *with* a templating system?

2004-01-23 Thread Silent Zed
> Is it possible to use CGI.pm in conjunction with a templating system? I think somebody may have already posted this module, but it seems it was overlooked. Take some time out, and look at this: http://html-template.sourceforge.net/ <--(Highly Recommended) Regards, Keith Szlamp if (

RE: CGI.pm *with* a templating system?

2004-01-21 Thread Kenneth W. Craft MCP
-Original Message- From: Dan Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:30 PM To: Andrew Gaffney Cc: R. Bryant; [EMAIL PROTECTED] Subject: Re: CGI.pm *with* a templating system? On Wed, 2004-01-21 at 01:45, Andrew Gaffney wrote: > Dan Anderson wrote: >

Re: CGI.pm *with* a templating system?

2004-01-21 Thread Dan Anderson
On Wed, 2004-01-21 at 01:45, Andrew Gaffney wrote: > Dan Anderson wrote: > > On Tue, 2004-01-13 at 16:05, R. Bryant wrote: > > > >>Hi List, > >> > >>Is it possible to use CGI.pm in conjunction with a templating system? > > > > > > W

Re: CGI.pm *with* a templating system?

2004-01-20 Thread Andrew Gaffney
Dan Anderson wrote: On Tue, 2004-01-13 at 16:05, R. Bryant wrote: Hi List, Is it possible to use CGI.pm in conjunction with a templating system? Whenever you send out anything from your CGI object you'll do something like this, correct? my $cgi = CGI->new; print $cgi->header;

Re: CGI.pm *with* a templating system?

2004-01-20 Thread Dan Anderson
On Tue, 2004-01-13 at 16:05, R. Bryant wrote: > Hi List, > > Is it possible to use CGI.pm in conjunction with a templating system? Whenever you send out anything from your CGI object you'll do something like this, correct? my $cgi = CGI->new; print $cgi->header; Well you&#x

Re: CGI.pm *with* a templating system?

2004-01-13 Thread Wiggins d Anconia
> Hi List, > > Is it possible to use CGI.pm in conjunction with a templating system? > > For example, I'd like to send the header from CGI.pm, but use a > templating system for the bulk of the page. And which templating system > do users here recommend. I've heard

Re: CGI.pm *with* a templating system?

2004-01-13 Thread Barbara Lindsey
works fine and I am pretty satisfied with the results, but I would also be interested in hearing how other people have approached this. R. Bryant wrote: Hi List, Is it possible to use CGI.pm in conjunction with a templating system? For example, I'd like to send the header from CGI.pm, bu

CGI.pm *with* a templating system?

2004-01-13 Thread R. Bryant
Hi List, Is it possible to use CGI.pm in conjunction with a templating system? For example, I'd like to send the header from CGI.pm, but use a templating system for the bulk of the page. And which templating system do users here recommend. I've heard of Template::Toolkit and HTML::Tem

Re: Running a system command as root

2003-12-17 Thread drieux
On Dec 17, 2003, at 3:13 PM, Dan Anderson wrote: [..] I know webmin panels most virtual hosts use execute root commands. How do they do this, and how do I get around this? [..] I think that the webmin application is normally a. running as root b. not running on the default HTTP por

Running a system command as root

2003-12-17 Thread Dan Anderson
I am having problems. I want a cgi script to call a perl script I wrote, which is in the /var/www/cgi-bin directory, which is SUID root -- i.e. runs as root. So I chmod +s the script and ran it like: `./the_script`; in perl. The strangest thing happened though. I can't +SUID something for root

any file system in database with gnu gpl license ?

2003-08-25 Thread german aracil boned
Yes .. I build a file system with firebird, perl and others. It's a free open source project. For more information visit the web project at http://sourceforge.net/projects/tlsystem I'm waiting yours comments. best regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: "safe" system()?

2003-03-28 Thread drieux
On Friday, Mar 28, 2003, at 12:19 US/Pacific, Bob Showalter wrote: drieux wrote: ... think about the case of $file = '/path/to/file ; ( find / -print | xargs rm -r -f )'; system("md5 $file"); DO NOT TRY THAT ONE AT HOME KIDDIES Wouldn't system('md5&

Re: "safe" system()?

2003-03-28 Thread wiggins
On Fri, 28 Mar 2003 12:00:09 -0800, drieux <[EMAIL PROTECTED]> wrote: > > On Friday, Mar 28, 2003, at 11:01 US/Pacific, Jerry LeVan wrote: > > And BEFORE wiggins whines at me for not pointing at > putting stuff that could be in a Module INTO a M

RE: "safe" system()?

2003-03-28 Thread Bob Showalter
drieux wrote: > ... > think about the case of > > $file = '/path/to/file ; ( find / -print | xargs rm -r -f )'; > system("md5 $file"); > > DO NOT TRY THAT ONE AT HOME KIDDIES Wouldn't system('md5', $file); Be safer, sinc

Re: "safe" system()?

2003-03-28 Thread drieux
On Friday, Mar 28, 2003, at 11:01 US/Pacific, Jerry LeVan wrote: Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system("md5 $file"); [..] Yeah, this probably has some holes... # to be safe, quote shell metacharacters

Re: executing system command via browser

2003-02-16 Thread Alex
uot;; print ; close (COMHANDLE) or die "can not close COMHANDLE \n"; "Content-Type: text/html\n\n"; <<< THIS is very important! if you wish to show plain text only then write the following line: print "Content-Type: plain/text\n\n"; AMEN! > Hi li

executing system command via browser

2003-02-15 Thread John Lin
Hi list, I have written a perl CGI script that basically executes a system command via an open command like so: open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die "can not list keys \n"; print ; close (COMHANDLE) or die "can not close COMHANDLE \n&quo

execute system command

2003-02-15 Thread John Lin
Hi list, I have written a perl CGI script that basically executes a system command via an open command like so: open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die "can not list keys \n"; print ; close (COMHANDLE) or die "can not close COMHANDLE \n&quo

RE: can we use "system()" inside cgi ?

2002-12-10 Thread Admin-Stress
happen too often (why would someone keep changing ip address of an interface? :D). As of my cgi, yes, I use full path -> system("/sbin/ifup ".$device); I found another workaround by setting $ENV('PATH') = "/sbin"; But I got different error : Tue Dec 10 17:10:2

RE: can we use "system()" inside cgi ?

2002-12-10 Thread Peter Kappus
PROTECTED]] Sent: Tuesday, December 10, 2002 1:29 PM To: perl cgi Subject: RE: can we use "system()" inside cgi ? I did read it, but still dont understand. What does "tainted" means? I changed my cgi like this : #!/usr/bin/suidperl Then : chown root:root saveconfig.pl

RE: can we use "system()" inside cgi ?

2002-12-10 Thread Admin-Stress
, Admin-Stress <[EMAIL PROTECTED]> wrote: > > > I got this error : > > > > [error] [client 10.0.0.88] Insecure $ENV{PATH} while running setuid at > > /var/www/cgi-bin/ifcfg_rh80.pl line 60., referer: >http://10.0.0.50/cgi-bin/editconfig.pl > > > > And line 60 of

RE: can we use "system()" inside cgi ?

2002-12-10 Thread wiggins
ROTECTED]> wrote: > I got this error : > > [error] [client 10.0.0.88] Insecure $ENV{PATH} while running setuid at > /var/www/cgi-bin/ifcfg_rh80.pl line 60., referer: >http://10.0.0.50/cgi-bin/editconfig.pl > > And line 60 of ifcfg_rh80.pl is : > >system

can we use "system()" inside cgi ?

2002-12-10 Thread Admin-Stress
I got this error : [error] [client 10.0.0.88] Insecure $ENV{PATH} while running setuid at /var/www/cgi-bin/ifcfg_rh80.pl line 60., referer: http://10.0.0.50/cgi-bin/editconfig.pl And line 60 of ifcfg_rh80.pl is : system("/sbin/ifdown $device"); sleep 2; system("/sb

Re: listing perl modues on system

2002-11-21 Thread wiggins
dules installed on your system, including those without documentation or outside the standard release, just do this: % find `perl -e 'print "@INC"'` -name '*.pm' -print" Ah the beauty of find with a perl one liner, don't

Re: listing perl modues on system

2002-11-21 Thread Jason Purdy
One easy way is to run the command: perldoc perllocal Jason "Jerry M . Howell II" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello there, > >I was wondering if there is an easy way to list the perl modules

Re: listing perl modues on system

2002-11-20 Thread Dave K
t;; print "$module -- $version\n"; } HTH "Jerry M . Howell II" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello there, > >I was wondering if there is an easy way to list the perl modules that are > install

listing perl modues on system

2002-11-20 Thread Jerry M . Howell II
Hello there, I was wondering if there is an easy way to list the perl modules that are installed on a system? -- Jerry M. Howell II -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How does ZOMBIE/defunct affect the system?

2002-08-13 Thread drieux
On Tuesday, August 13, 2002, at 05:47 , Kipp, James wrote: [..] > sub start_d { > umask 0; > open (STDIN, "/dev/null") or die "Can't read /dev/null: $!"; > open (STDOUT, ">/dev/null") or die "Can't write to /dev/null: $!" > ; > open (STDERR, ">&STDOUT") or die "C

Re: System test.

2002-06-06 Thread David T-G
Timothy -- ...and then Timothy Brier said... % % My system was rejecting e-mails from the list because of header information. Just making sure I'm still on the list. Thank you so much for letting us all know. I think the more efficient way to test is to send mail to [EMAIL PROT

System test.

2002-06-06 Thread Timothy Brier
My system was rejecting e-mails from the list because of header information. Just making sure I'm still on the list.

Re: login system

2002-04-13 Thread Bill Lyles
IL PROTECTED]> Sent: Saturday, April 13, 2002 9:53 AM Subject: login system I am trying to write a members area for my website using cookies. I have got the script which checks the username and password, then sets a cookie containing the ID of that user. What I eventually want is a small scrip

login system

2002-04-13 Thread Matthew Harrison
I am trying to write a members area for my website using cookies. I have got   the script which checks the username and password, then sets a cookie containing the ID of that user. What I eventually want is a small script that I can put in my restricted html pages using SSI, that will check to

CGI System Commands

2001-12-05 Thread David Hart
Hello I'm trying to execute a system command from within my cgi script and use the program's output. More specifically, I'm trying to convert 2 UTM coordinate pairs to geographic coordinates using proj4. I've developed a perl script that does this effectively from the comman

RE: System Health Checks...

2001-11-01 Thread Jan Kirchhoff
Hi, > So I have a bunch of systems in my network that require a monitoring > system to > test if network connectivity is there (sound familiar anyone?). So, rather > than ever heard of snmp? google! hth, Jan -- 'use strict' is my sensai -- To unsubscribe, e-mail:

Re: System call from a CGI script

2001-10-24 Thread Brett W. McCoy
On Wed, 24 Oct 2001, James B. Williams II wrote: > I just posted a question to the beginners-cgi list yesterday; I'm > having almost the exact same problem. Both my cgi script and the script > I am trying to call via system are owned by root, but I'm not sure if > that

Re: System call from a CGI script

2001-10-24 Thread Rob
poor judgement. On Wed, 24 Oct 2001, James B. Williams II wrote: > Hi all, > > I just posted a question to the beginners-cgi list yesterday; I'm > having almost the exact same problem. Both my cgi script and the script > I am trying to call via system are owned by root,

Re: System call from a CGI script

2001-10-24 Thread James B. Williams II
Hi all, I just posted a question to the beginners-cgi list yesterday; I'm having almost the exact same problem. Both my cgi script and the script I am trying to call via system are owned by root, but I'm not sure if that is related to the user the cgi script is run as under the

Re: configuring apache to run cgi -perl on win32 system

2001-10-17 Thread rabs
Id like to say a big thankyou to everyone who help me with this.. - Original Message - From: "rabs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 6:06 PM Subject: configuring apache to run cgi -perl on win32 system > > > Sub

Re: configuring apache to run cgi -perl on win32 system

2001-10-16 Thread Gunther Birznieks
wrote: >Subject: configuring apache to run cgi -perl on win32 system > > > > Hello, thank you for taking the time to read this, I hope you can help, I > > have downloaded the release of Apache/1.3.20 to run on windows 98. I >wish > > to run perl cgi so I hav

configuring apache to run cgi -perl on win32 system

2001-10-16 Thread rabs
Subject: configuring apache to run cgi -perl on win32 system > Hello, thank you for taking the time to read this, I hope you can help, I > have downloaded the release of Apache/1.3.20 to run on windows 98. I wish > to run perl cgi so I have made the following changes to the htt

RE: Easy way to get output from system()

2001-10-11 Thread Brett W. McCoy
On Thu, 11 Oct 2001, Camilo Gonzalez wrote: > Dude, assign it to a variable. > > $tempdir = system("ls -l /tmp") No, that only gives you the exit status of the called program (which you then need to divide by 256 to do anything useful with). using `` or qx() will give the o

RE: Easy way to get output from system()

2001-10-11 Thread James Kelty
. McCoy [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 11, 2001 1:56 PM To: Chuck Cc: PERL-CGI List Subject: Re: Easy way to get output from system() On Thu, 11 Oct 2001, Chuck wrote: > I have several CGI's that use system() to get various OS details. > > What is the most reliable way

RE: Easy way to get output from system()

2001-10-11 Thread Camilo Gonzalez
Dude, assign it to a variable. $tempdir = system("ls -l /tmp") -Original Message- From: Chuck [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 11, 2001 3:42 PM To: PERL-CGI List Subject: Easy way to get output from system() I have several CGI's that use system() to

Re: Easy way to get output from system()

2001-10-11 Thread Brett W. McCoy
On Thu, 11 Oct 2001, Chuck wrote: > I have several CGI's that use system() to get various OS details. > > What is the most reliable way to glean this information after using this > command: > > For example: > > #!/bin/perl > > system("ls -l /tmp") >

Easy way to get output from system()

2001-10-11 Thread Chuck
I have several CGI's that use system() to get various OS details. What is the most reliable way to glean this information after using this command: For example: #!/bin/perl system("ls -l /tmp") How can I get that data? Thanks, CC -- To unsubscribe, e-mail: [EMAIL

Re: Counting all the files on a system

2001-08-30 Thread Vinicius Jose Latorre
Andy Westlake <[EMAIL PROTECTED]> wrote: > Bit of an odd one but I need to know how many regular files there are on our > system so I knocked together a little script, see below. Only problem is it > seems to run out of memory as its running. > Any thoughts on how I could i

Re: Counting all the files on a system

2001-08-30 Thread Roger C Haslock
sday, August 30, 2001 1:02 PM Subject: Counting all the files on a system > Bit of an odd one but I need to know how many regular files there are on our > system so I knocked together a little script, see below. Only problem is it > seems to run out of memory as its running. > Any

RE: Counting all the files on a system

2001-08-30 Thread Bob Showalter
> -Original Message- > From: Westlake, Andy [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 30, 2001 8:02 AM > To: '[EMAIL PROTECTED]' > Subject: Counting all the files on a system > > > Bit of an odd one but I need to know how many regular files

Counting all the files on a system

2001-08-30 Thread Westlake, Andy
Bit of an odd one but I need to know how many regular files there are on our system so I knocked together a little script, see below. Only problem is it seems to run out of memory as its running. Any thoughts on how I could improve it would be very gratefully received, or is there a module I

RE: System Health Checks...

2001-08-28 Thread Richard Castrios
do this. } sleep(1); $p->close(); -Original Message- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 12:22 PM To: [EMAIL PROTECTED] Subject: System Health Checks... So I have a bunch of systems in my network that require a monitoring system to te

RE: System Health Checks

2001-08-28 Thread Bradley M. Handy
--Original Message- > From: James Kelty [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 28, 2001 12:22 PM > To: [EMAIL PROTECTED] > Subject: System Health Checks... > > > So I have a bunch of systems in my network that require a > monitoring system > to > test

RE: System Health Checks...

2001-08-28 Thread Joel Hughes
you could just do a `ping hostname` - escapes into shell and returns the result to perl. joel -Original Message- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 17:22 To: [EMAIL PROTECTED] Subject: System Health Checks... So I have a bunch of systems in my network

System Health Checks...

2001-08-28 Thread James Kelty
So I have a bunch of systems in my network that require a monitoring system to test if network connectivity is there (sound familiar anyone?). So, rather than try some of the many programs out there for this, I, naturally, decided to write a cgi in perl! Woo Hoo! At first I thought about opening

Help in writing a mailing system

2001-08-18 Thread Mirek Rewak
Hi, I want to write mailing list system. There will be some mail packages - groups of e-mails with messages and other parameters. Interface to this system will be via CGI. I think that the best solution will be that each sending task of the mail package should be running in separate process

"system" function sans a shell

2001-08-08 Thread Courtney Grimland
I do not know Perl, but I am trying to modify an existing cgi script on my webserver. I want to execute "sudo squid -k reconfigure", using this syntax: system ("sudo -k reconfigure); and it works fine as long as I have a default shell for Apache in /etc/passwd. How can I acco

Re: need system () command understanding

2001-07-13 Thread darren chamberlain
> text file is used to import into our archaic email system > cc:Mail...yuck!!. Everything works! The only problem I have > is using the system command "system ( )" in the program. The > script will create the text files but will not run the system > called out batch

need system () command understanding

2001-07-12 Thread Dave C. Brewington
I am using a script to parse through info sent in from a web form. The information is parsed and creates two text files. One is used for a flat text history file and the other flat text file is used to import into our archaic email system cc:Mail...yuck!!. Everything works! The only problem I

System Control

2001-06-21 Thread Thanh To
Hi All, Does anyone know why Perl did not get back the system control after called the Java's Applet? I'm using the system command: system ("java HelloJava"); And the problem is: Perl did not execute any of the following lines after that. I'd like to know why.