Re: perl?

2001-09-13 Thread lc-brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Server: Apache/1.3.14 (Unix) mod_perl/1.24 PHP/4.0.3pl1 FrontPage/4.0.4.3 > mod_ssl/2.7.1 OpenSSL/0.9.6 > Does' this tell you what version of perl is installed & what mod? I,m trying > to upload a script but having no luck. it only t

editing script

2001-09-13 Thread Wagner
Hello, I'm editing a script that produces a .png image, i want it to turn it into a .html doc. My first doubt is that i can't put the image in the html doc. The image is stored in $im and i don't know how to put it in the doc. ex: print "Content-type text/html\n\n"; print "; I'm also trying to

Re: Forward slash in regex pattern

2001-09-13 Thread Mark Murphy
Alan - Your problem are the "$" in $path and $url. You need to escape them somehow or just remove them out of your test script if you don't need them. Also if ($url !~ /$path/){ $url = $path.$url; } worked fine for me, no need for the m,^, or !. Mark Alan Hulley wrote: > > Hell

Re: editing script

2001-09-13 Thread Gunther Birznieks
At 08:44 AM 9/13/2001 -0300, Wagner wrote: >Hello, > >I'm editing a script that produces a .png image, i want it to turn it into a >.html doc. > >My first doubt is that i can't put the image in the html doc. The image is >stored in $im and i don't know how to put it in the doc. > >ex: >print "Cont

gui development

2001-09-13 Thread charles
sorry that this question isnt directly cgi associated. up until recently, i've been developing my cgi scripts straight away using vi or a clone. i just came upon activestate's visual perl a few days ago and wondered if anyone knew of a similar product available for the *nix platform? regards -cha

problem using script as ssi

2001-09-13 Thread charles
i have the following script: #!/usr/bin/perl -w use strict; my $file = /path/to/pancho-unstable"; print ""; open(FH, $file); while() { s/\\\@/@/g; s/>/\>/g; s/"; when i include this script as an ssi through: nothing prints except for the html included in the .shtml file. however, wh

RE: problem using script as ssi

2001-09-13 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 11:23 AM > To: CGI Beginners > Subject: problem using script as ssi > > > i have the following script: > > #!/usr/bin/perl -w > > use strict; > > my $file = /path/to/pancho-u

Complete beginner can't get Sendmail to work

2001-09-13 Thread Andrew Cocks
my sendmail.pm file (stored in the SYS\Perl\lib\Mail directory) has the following line: $default_smtp_server = '192.9.200.222'; my formmail.pl file refers to the sendmail file with the following line: $mailprog = '/perl/lib/Mail'; Can anyone see anything wrong with these lines of code? Is it

RE: editing script

2001-09-13 Thread Wagner
Hi Gunther; I've tryed to save the picture in the file but it didn't work. The script is going as an attachment for you to take a look. My modifications are in the end of the file. Thank for your help in advance, Wagner -Original Message- From: Gunther Birznieks [mailto:[EMAIL PROTECTE

Weekly list FAQ posting

2001-09-13 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addr

Re: Complete beginner can't get Sendmail to work

2001-09-13 Thread Gunther Birznieks
Please do a search on the archives of this list from the past couple weeks having to do with mail and you'll see many good, verbose suggestions on some good alternatives At 04:49 PM 9/13/2001 +0100, Andrew Cocks wrote: >my sendmail.pm file (stored in the SYS\Perl\lib\Mail directory) has the >f