calling a shell script from a cgi

2004-08-24 Thread Luca Ferrari
Hi, I'm using a perl cgi program as interface for a backup shell script. The bash script, which uses cdrecord to burn a cdrom, works fine, but when I call it from the perl cgi it reports errors. In particular cdrecord says there are errors (but not what). I've called the script with a quote:

Re: calling a shell script from a cgi

2004-08-24 Thread Luca Ferrari
On Tuesday 24 August 2004 16:25 zentara's cat walking on the keyboard wrote: On Tue, 24 Aug 2004 11:57:58 +0200, [EMAIL PROTECTED] (Luca Ferrari) wrote: Hi, I'm using a perl cgi program as interface for a backup shell script. The bash script, which uses cdrecord to burn a cdrom, works

How to get browsers IP address?

2004-08-24 Thread Siegfried Heintze
How do I get the browser's IP address in a server side cgi perl script? The web server stores this information in an environment variable but I don't see a function to retrieve it in the 5.6.1 perldoc for cgi. Thanks, Siegfried

Re: How to get browsers IP address?

2004-08-24 Thread Chris Devers
On Tue, 24 Aug 2004, Siegfried Heintze wrote: How do I get the browser's IP address in a server side cgi perl script? It's in $ENV{'REMOTE_ADDR'}. Poke at your %ENV hash for other possibly useful values. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Charles In