CGI writing to file

2001-10-30 Thread lance miller
In the source for guestbook.pl http://www.wiley.com/legacy/compbooks/stein/text/guestbook.txt 11: $GUESTBOOKFILE = "./guestbookfile.txt"; - Please give me a real life example of: this line above on a real system, and way that file looks on the unix machine if

CGI Login in IE but NOT Netscape

2001-10-30 Thread Jimmy Lewis
I have a project where the CGI form is being displayed in Netscape as raw HTML but in IE it works fine. Are you familiar with this problem? Jimmy Lewis Web Programmer -- IP Strategy Inc. 5353 Mission Center Road #212 San Diego, CA 92108

Re: mod_perl and nntp.perl.org

2001-10-30 Thread Gunther Birznieks
At 11:58 AM 10/31/2001, Scott R. Godin wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Ask Bjoern Hansen) wrote: > > > [EMAIL PROTECTED] (Scott R. Godin) writes: > > > > > aside from the mailing lists @apache.org I haven't seen much else, and > > > having a fair preference for a usen

Re: mod_perl and nntp.perl.org

2001-10-30 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ask Bjoern Hansen) wrote: > [EMAIL PROTECTED] (Scott R. Godin) writes: > > > aside from the mailing lists @apache.org I haven't seen much else, and > > having a fair preference for a usenet-style discussion as opposed to a > > mailing list fo

Cookies stopped working

2001-10-30 Thread Kirk W. Batzer
I'm attempting to port a perl CGI application from: "perl, 5.005_02 built for 3446-svr4.0" to:"perl, v5.6.1 built for sun4-solaris" The application uses "cookies" to maintain "state" information. The following code is successfully creating and using cookies in the perl 5.5 , but failing to

Re: mod_perl and nntp.perl.org

2001-10-30 Thread Ask Bjoern Hansen
[EMAIL PROTECTED] (Scott R. Godin) writes: > aside from the mailing lists @apache.org I haven't seen much else, and > having a fair preference for a usenet-style discussion as opposed to a > mailing list format, it might be useful to bring such onboard here at > nntp.perl.org... I don't think

Re: Auto-initialising a client-side download

2001-10-30 Thread Ask Bjoern Hansen
[EMAIL PROTECTED] (Brett W. McCoy) writes: > > I think it would be good to have an online searchable database of this > > newsgroup, so you don't have to download every message to see if your > > question has already been answered a few days or weeks ago! =) > > Shannon -- > > Actually, there i

Re: I want out, but I'm no idiot.

2001-10-30 Thread Ask Bjoern Hansen
[EMAIL PROTECTED] (Roger C Haslock) writes: > Just a suggestion, but could someone set up a newsgroup for those > that want out, but can't make it. (And someone else arrange their > swift transfer to it!) http://nntp.perl.org/ - ask (using the nntp interface right now) -- ask bjoern hansen,

Re: I want out, but I'm no idiot.

2001-10-30 Thread Ask Bjoern Hansen
[EMAIL PROTECTED] (Stephan Tinnemeyer) writes: > 4. If all that does not help you may send an email to a human being - to > ONE human being who will unsubscribe you manually, not to the whole > list. This human being is the list owner, Casey West, whose email > address is > > [EMAIL PROTEC

RTF::Generator

2001-10-30 Thread Al Wheeler
Hi, I am trying to find the appropriate forum or person(s) as related to the following: RTF::Generator How do I go about making RTF module & components work on Perl 5.004? Might there be a translator script for 5.005 to 5.004? If I must write the code myself, then where do I look for information

Cookie help needed

2001-10-30 Thread David Gilden
The code below does seem to work, and someone please show where I went wrong. Thx Dave -- ### Set Cookie #!/usr/bin/perl -w use CGI qw/:standard/; my $new_cookie = cookie( -name => "bears", -values => ['Sweater','Seymore','Bearnard','Blondie'], ); pri

Re: Auto-initialising a client-side download

2001-10-30 Thread Stephan Tinnemeyer
Shannon, did you try my idea to zip the file? Even Internet Explorer should recognize this as a compressed file. Compressed files must be downloaded first and should be expanded automatically when the browser is configured correctly. As Mac user, you may prefer StuffIt for compression (give your

error reports

2001-10-30 Thread Guy Tubbs
Does anybody know if it is possible to trap errors in Perl when they occur and then send them with a bit of info with sendmail? For example, if one of my web scripts messed up when someone was using it they'd get the standard error page and I would receive an email with the referring page and any

Re: Auto-initialising a client-side download

2001-10-30 Thread RaFaL Pocztarski
Shannon Murdoch wrote: > > Don't take offense RaFaL =) No, I'm just saying that you haven't read all of my message, because you assumed that I don't know how to quote previous messages properly. But I do, and in fact I did even before Internet was known to the public, and that's because you will

Re: Auto-initialising a client-side download

2001-10-30 Thread Shannon Murdoch
Since the text file was a tabulated text file, able to (and preferred to) be opened in MS Excel, I set the content type to: application/vnd.ms-excel And she runs like a dream! =) # example $ENV{PATH_INFO} = # '/cgi-bin/download.cgi/cgi-bin/bill/questionnairedata1.txt' $file = $ENV{PATH_INFO};

Re: Auto-initialising a client-side download

2001-10-30 Thread Jan-Willem Haaring
Hi Shannon, This script works for me (IE and NS) and as you can see it is a compilation of several hints posted on this list :) #!/usr/local/bin/perl -T print "Content-type: application/x-foobar\n\n"; $file = $ENV{PATH_INFO}; $file =~ s/[^\w.-]+//g; $file = "/somedir/download/$file"; open(DO

Re: Auto-initialising a client-side download

2001-10-30 Thread Shannon Murdoch
Don't take offense RaFaL =) I tried the idea you had and as you said, Netscape automatically brought up a download window but Internet Explorer just displayed it's contents in the browser window (bugger). Any ideas? -Shan > From: [EMAIL PROTECTED] (Rafal Pocztarski) > Newsgroups: perl.beginner