Form name field/Is the code in the wrong place???

2001-02-16 Thread Ken Fair
Hello Group Do I have the error code wrong or in the wrong place?? The code is listed below. I want an error page to show up if the name is left blank. The way I have now I thought the: would pick it up? sub dienice { ($errmsg) = @_; print "Error\n"; print "$errmsg\n"; print "\

Re: Request...

2001-02-16 Thread Shawn
I am not familiar with PWS, but Apache is free, and there is a huge apache crowd to help out with things :-) Shawn - Original Message - From: "Kaspars Vilkens" <[EMAIL PROTECTED]> To: "Activeperl LISTSERV" <[EMAIL PROTECTED]>; "Perl-Web LISTSERV" <[EMAIL PROTECTED]> Sent: Friday, Februar

Reading an attachment with perl

2001-02-16 Thread Melissa Matthews
Is there a way to get the attachment from an email. I can get it as part of the body, but would like to get the attachment separately. Is this possible? ___ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/act

Re: Windows Perl Editors?

2001-02-16 Thread Phill Hardstaff NC
Ultraedit http://www.ultraedit.com is great if you are not into VI (as I am not). Not just for PERL, it's inbuilt regex has saved me countless hours.   Phill - Original Message - From: Bill Duncan To: [EMAIL PROTECTED] Sent: Friday, February 16, 2001 5:

Re: Activeperl: trouble with GD and TTF support

2001-02-16 Thread Phill Hardstaff NC
It's definenitely a file handle leak (well very much looks like it), this was my first thought when this happened to me. Almost exactly the same symptoms as Tony Dyson (see below). Which GD are you referring to when you say . "I've rebuilt GD with the latest version of the library > (1.4). Can

Re: ASCII value of a characater

2001-02-16 Thread matt . b . grimaldi
Um, that was supposed to be %s, not $s, making: my $temp = $line; $temp =~ s/(.)/printf("%03d\t%s\n", ord($1), $1)/ges; ] Is there a way to find the ASCII value of a character in perl, so that I ] can ouput the ASCII code and the character in the following code? ]

Re: ASCII value of a characater

2001-02-16 Thread matt . b . grimaldi
] Is there a way to find the ASCII value of a character in perl, so that I ] can ouput the ASCII code and the character in the following code? ] ]     @chars=split('',$line); ]     foreach $ch (@chars) { ]     print "$ch "; ]     } ] ] Thanks ]   Roy How about:

Re: Request...

2001-02-16 Thread Lee Goddard
Um, you have set permissions on the script dir? Kaspars Vilkens wrote: > > The directory structure of the server is: > > home dir: C:\inetpub\wwwroot\ > scripts dir: C:\inetpub\scripts\(alias \scripts) > > script I want to execute is needed to generate frames html, depending on > us

Re: Request...

2001-02-16 Thread Lee Goddard
Oh. You're not using the quotes in the reg are you? You've got the HTTP headers correct? content-type: text/html\n\n Kaspars Vilkens wrote: > > Just tried. Not working like this (Gives same error)!!! > > [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip > t M

Re: Trying to install ActivePerl!!!

2001-02-16 Thread Lee Goddard
I'm sure someone will correct me very quickly if I'm wrong, but if I remember correctly, your reg string for the script map should be: "C:\perl\bin\perl.exe %s %s" Kaspars Vilkens wrote: > > Hallo, > I am new to Perl programming... so do not blame me for such a dummy question > :) >

Calling functions through COM

2001-02-16 Thread Catchen, Julian M
Hello, I am using ActivePerl as a scripting component to access the data structures in a program I am writing. It uses the Microsoft ScriptControl. Everything is working with one exception: If I have a reference that is being passed into the script via the ScriptControl, and I call a COM funct

First time WIn95 Active Perl user - - can't get it to work.

2001-02-16 Thread Donald Dunn
I'm still having install issues. I can't get my first Active Perl Script to work under PWS. I have done an install by the book. I have associated .pl to e:\perl\bin\perl.exe in windows explorer. I have Associated the .pl extension in the Registry key HKEY_LOCAL_SYSTEM, with the sub-key ``Sys

No blank Name in Form How???? Please

2001-02-16 Thread Ken Fair
Hello Group Thanks to your help I have a form that works. Now I would like to make sure that the users name and email address have data. I thought it was straight forward but I am missing something. The code is below. I thought that you put the code before the mail is open? That is not work

running a perl script on a server from another script

2001-02-16 Thread Matthew Thompson
Hi, I would like to run a perl script on a web server from within another script and get a returned value (success or fail). The purpose of this is to update a web page - with the IP address the the request came from and some other info though the GET method. Does anyone know a good way of doing

Antwort: Eventlog script - fails with No such file or directory

2001-02-16 Thread stefan . albert
Hello Ashley, the problem lies in the long file name - OR - the problem lies in the program gzip - OR - the problem lies in DOS which lives in WINXXX You want to run a command (gzip) with a file name as argument, not in 8.3 notation, which doesn't support long file names. So all the 3 reasons

RE: Request...

2001-02-16 Thread Kirkup, Steve
Did you check to see ifyou can access a regular page first? I know it seems stupid but it does not hurt to check to just put a test HTML file in the scripts directory and see if you can get to it. Steve K > -Original Message- > From: Kaspars Vilkens [SMTP:[EMAIL PROTECTED]] > Sent: Frid

Request...

2001-02-16 Thread Kaspars Vilkens
The directory structure of the server is: home dir: C:\inetpub\wwwroot\ scripts dir: C:\inetpub\scripts\(alias \scripts) script I want to execute is needed to generate frames html, depending on user machine's screen resolution, to send it to client (for centering the page in the scree