Re: Partially success

2002-07-25 Thread Wiggins d'Anconia
Octavian Rasnita wrote: > > I run the script with the ?fileName query string to download the "fileName" > file. > The download finishes fine, and the script deletes the "fileName" file from > the server. > > Then in the same Internet Explorer window, I run again the script with the > "anothe

Print entire single column of csv-file using "split"

2002-07-25 Thread Richard Krause
Hello I'd like to print the country-column of the follwing csv-file: eastwood;clint;usa kinski;klaus;germany wayne;john;usa This is the script I wrote: #!c:/perl/bin/perl -w use diagnostics; use strict; open(ADDRESSLIST,"; close (ADDRESSLIST); foreach (@list) { @l

Re: malformed header from script???

2002-07-25 Thread Jake
That was it...I shoulda picked it up myself, but im a bit fuzzyheaded today. thanks a million > Perhaps this line is doing it: > >$sm->setDebug($sm->ON); > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: malformed header from script???

2002-07-25 Thread Bob Showalter
> -Original Message- > From: webster [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 4:02 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: malformed header from script??? > > > hmmm, ok, I moved the Content-Type line up in the program, > and that got rid of > t

Re: malformed header from script???

2002-07-25 Thread webster
hmmm, ok, I moved the Content-Type line up in the program, and that got rid of the error. Now, however, it dumps the raw text of the email - 220 stanislaw.blah.blah.edu ESMTP Sendmail 8.12.2/8.12.2/SuSE Linux 0.6; Thu, 25 Jul 2002 14:38:05 -0500 EHLO stanislaw 250-stanislaw.blah.blah.edu Hell

Re: another way to show results ?

2002-07-25 Thread Simon K. Chan
Hi Ali, I hope I understood your question correctly. A user fills out a form, and you want the results to be displayed on the same page (URL) ? If that's the case, read up on subroutines. Subroutines are kind of like "bins" that hold perl code. Here's some pseudocode: if (some_condition){

Re: malformed header from script???

2002-07-25 Thread perl-dvd
Webster, Looks like your content-type is not being printed soon enough. You should consider placing it at the very top of your script unless you expect print some other kind of header (like a Location). print "Content-Type: text/html\n\n"; Regards, David - Original Message - From

malformed header from script???

2002-07-25 Thread webster
I'm getting this error: malformed header from script. Bad header=EHLO stanislaw if I turn off use strict, I get the error Premature end of script headers my code is posted below, and it runs all the way through because it sends the email - and the email has The err

Re: Partially success

2002-07-25 Thread Janek Schleicher
Octavian Rasnita wrote at Thu, 25 Jul 2002 11:21:42 +0200: > The problem is that the file is not deleted if the visitor cancels the file download. > > If the download is interrupted, the script is also interrupted I think, and it can't >delete the > file. > ... > Here is the script: > > #!/per

Re: sending bulk emails in perl/sendmail

2002-07-25 Thread zentara
On Thu, 25 Jul 2002 06:36:40 -0700 (PDT), [EMAIL PROTECTED] (Shao-Ju Chao) wrote: >I wonder if there is a safer and better way sending email messages to a group of >people. >For example, there is a text file that has all the recipient email addresses: > You can specify your list, 1 email per li

Partially success

2002-07-25 Thread Octavian Rasnita
Hello all, Thank you for your help regarding that script for downloading then deleting the downloaded file. I've made the script and after downloading the file, it deletes it from the server. This works fine. The problem is that the file is not deleted if the visitor cancels the file download.

RE: Upgrade to Perl

2002-07-25 Thread Bob Showalter
> -Original Message- > From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 1:53 AM > To: [EMAIL PROTECTED] > Subject: Upgrade to Perl > > > Hi List, > I have been running Perl 5.6.0 for a while now, and today I decide to > upgrade to 5.6.1! > Everything work

Page embedded script

2002-07-25 Thread Lon Lentz
I have inherited a project based on more scripting languages than I knew existed, and I have very little Perl experience. I have a CGI script that is calling an HTML template (to display). The html template has the following script embedded in it. It doesn't appear to behave like Perl. I am try

Re: Upgrade to Perl

2002-07-25 Thread drieux
On Wednesday, July 24, 2002, at 10:53 , Soheil Shaghaghi wrote: [..] > > 2. I see so many Perl executables, and don't know which one the latest one > is, or what I should do at this point to get the server to report Perl to > be > 5.6.1 > > /usr/bin/perlCreated: 12/25/2000 [..] >

Re: Finding the country

2002-07-25 Thread zentara
On Wed, 24 Jul 2002 09:37:34 -0500, [EMAIL PROTECTED] (Scot Robnett) wrote: >I'm assuming your best bet would be to find the IP using the first line of a >ping or traceroute and regex-ing out the extraneous stuff, then using >'whois -a' (which does an ARIN search) and extracting the 4th line to g

sending bulk emails in perl/sendmail

2002-07-25 Thread Shao-Ju Chao
I wonder if there is a safer and better way sending email messages to a group of people. For example, there is a text file that has all the recipient email addresses: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] (etc...) --- and to send message to them

Weekly list FAQ posting

2002-07-25 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: Finding the country

2002-07-25 Thread Connie Chan
- Original Message - From: "Hytham Shehab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 4:21 AM Subject: Re: Finding the country > Randal L. Schwartz wrote: > > If you're using it to force the language of the page, no. Use the > > browser specification ins

Re: another way to show results ?

2002-07-25 Thread Connie Chan
>- Original Message - >From: "alpha" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, July 25, 2002 6:30 AM >Subject: another way to show results ? > >hi all >i am new in perl and want to know can a perl cgi , return results in other way ? It depends on how you activate

another way to show results ?

2002-07-25 Thread alpha
hi all i am new in perl and want to know can a perl cgi , return results in other way ? i know cgi script return result in new webpage . but i dont want a new page open . i want it return result in same page and in row i call it . like a counter or other web tools thank u in advance ali