Re: Cookies stopped working

2001-10-31 Thread MARCOS LABORDE
Hi there, Your code looks OK...but first I'd tie the -NAME key to => $your_true_reference and also eliminate the comma after the $user value. It should work that way. Good luck. Marcos >>> "Kirk W. Batzer" <[EMAIL PROTECTED]> 10/30/01 10:38PM >>> I'm attempting to port a perl CGI applicati

Re: Free Mac Private Perl server

2001-10-31 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Shannon Murdoch) wrote: > Couldn't find the AFAIK version of MacPerl (CPAN was down, as usual) using > the www.macperl.com link. > > Are you able to give me some direct binary links at all? start from http://dev.macperl.org/ MacPerl is curren

Re: quotemeta regex

2001-10-31 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Carl Franks) wrote: > > I'm having trouble with a cgi script, the main problem is the snippet below, > is there anything obvious wrong with it? > > if (quotemeta $url =~ /$bad/i) { > $error = '1'; > } > > > The rest of the code is posted be

RTF::Document was RTF::Generator

2001-10-31 Thread Alfred Wheeler
RTF::Document was RTF::Generator I'm all set for now... RTF::Generator appears to need Thread. I was not able to properly install this prerequisite, since I am not "root" and cannot implement "loadables" the server (It's not a windows box). I did manage to manually "install" RTF::Document. (

Re: CGI Login in IE but NOT Netscape

2001-10-31 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jimmy Lewis) wrote: > 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? which version of netscape does your form pass the validator test at http://vali

Re: CGI Login in IE but NOT Netscape

2001-10-31 Thread Curtis Poe
--- Jimmy Lewis <[EMAIL PROTECTED]> wrote: > 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 Jimmy, This is a very common problem. You need to check the headers that

Re: CGI Login in IE but NOT Netscape

2001-10-31 Thread Stephan Tinnemeyer
Jimmy Lewis wrote: > > 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? Generally, this means that Netscape (version?, platform?) does not recognize the MIME type of the data sent by the server as HTML.

RE: CGI Login in IE but NOT Netscape

2001-10-31 Thread Bob Showalter
> -Original Message- > From: Jimmy Lewis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 30, 2001 11:24 PM > To: [EMAIL PROTECTED] > Subject: CGI Login in IE but NOT Netscape > > > I have a project where the CGI form is being displayed in > Netscape as raw > HTML but in IE it works

Debugging tips: Re: Cookies stopped working

2001-10-31 Thread Curtis Poe
--- "Kirk W. Batzer" <[EMAIL PROTECTED]> wrote: > 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

IE5 vs NS4.5 question

2001-10-31 Thread Donavon Pfeiffer
The following code is part of a web based interface to a Sybase Database. It is used to build a table formatted string from the column/ value pairs returned from ct_fetch and then create a page from it. My problem is this: it works fine in IE5 but displays as text and tags in NS4.5. That would be

Re: IE5 vs NS4.5 question

2001-10-31 Thread Stephan Tinnemeyer
Donavon, read the messages on subject "CGI Login in IE but NOT Netscape". I sent this message to you directly too because I presume that you are subscribed to the digest - or do you simply never read threads others than your "own"?;=) Cheers Stephan -- Dipl.-Chem. Stephan Tinnemeyer Lindenall

Fixed!!! CGI Login in IE but NOT Netscape

2001-10-31 Thread Jimmy Lewis
what I did to solve the problem was put this line in before all the HTML and it WORKED! print "Content-type: text/html\n\n"; Thanks so much for everybody's help! Jimmy Lewis Web Programmer -- IP Strategy Inc. 5353 Mission Center Road #212 San Dieg

redundant code

2001-10-31 Thread David Gilden
Good afternoon, Can some one point out where I am off? use CGI qw/:standard/; @fields = param(); # I think it returns a list of all the fields, # maybe we want to inslist a hash to get the values. foreach (@fields){ if ( $_ ~= /(|\?+|\d)/ ) { # match "" or ??? or 0 # do something bl

Re: Free Mac Private Perl server

2001-10-31 Thread Shannon Murdoch
Yeah I noticed that 5.6.1a4 (2001-07-20) couldn't handle a script I wrote that was 40k (had a bunch of HTML blocks hard-coded in). Bit disappointing. I should use MacOS X, which can run Perl and Apache due to it's unix underpinnings, but I hate the UI and so many other things about it (mouse spee

Re: Auto-initialising a client-side download

2001-10-31 Thread Shannon Murdoch
Unless there is some way to ZIP the file just before sending, it would be impractical for my particular situation Stephan. The files are updated and written to constantly on the server by the users who 'own them' so to speak. They are data files that are used by doctorate students for questionnai

Re: redundant code

2001-10-31 Thread Curtis Poe
David, What I *think* you are asking is how to assign default values to form parameters and then, after reading all form values, have special handling of those parameters that have those default values. Your question is a bit vague (or maybe it's me?), so I'm just guessing. I'll respond by f

Re: error reports

2001-10-31 Thread Lisa Nyman
Hi, On Tue, 30 Oct 2001, Guy Tubbs wrote: > 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? Sure it is. In fact, you always want to trap errors in a web app so you can die gracefully and give the user some nice

HTACCESS , can we set Realm and Site?

2001-10-31 Thread Jimmy Lewis
Thanks again for the help. If you don't mind me asking, would you happen to know how to predefine the "realm" and "site" for the popup that happens when a user logs in? I just got on this project and once the user logs in to the area when they click on a link they get a second prompt for username

CGI.pm popup_menu

2001-10-31 Thread Alan F Larimer Jr
I am attempting to use the DEFAULT parameter within a popup_menu to set the displayed value to what I want based on the passed parameters in the URL. I am using Mozilla 0.9.4 on a Linux machine, and hope that isn't the reason I'm not seing what I want to see. Here is the code: CODE #!/u

Re: Free Mac Private Perl server

2001-10-31 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Shannon Murdoch) wrote: > Yeah I noticed that 5.6.1a4 (2001-07-20) couldn't handle a script I wrote > that was 40k (had a bunch of HTML blocks hard-coded in). Bit disappointing. > I should use MacOS X, which can run Perl and Apache due to it's

Re: CGI.pm popup_menu

2001-10-31 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Alan F Larimer Jr) wrote: > I am attempting to use the DEFAULT parameter within a popup_menu to set the > displayed value to what I want based on the passed parameters in the URL. > I am using Mozilla 0.9.4 on a Linux machine, and hope that isn

Re: Auto-initialising a client-side download

2001-10-31 Thread Shannon Murdoch
Wow RaFaL, that's one hell of an attitude you've got there. I think you're blowing a very minor oversight on my behalf into a personal crusade against everyone =) I've been using the internet and email for a good 10 years or more, and know that you can intersperse quoted and non-quoted material