FW: Trouble running Open Perl IDE Debugger

2004-06-22 Thread Siegfried Heintze
I'm working on Win2003. I installed my perl from cygwin instead of directly installing it myself. It seems to work fine for the cgi files executed by Apache HTTPD (hurray!). However, when I use the OpenPerlIDE 1.0.11 the debugger dies on the following line inside perl5db.pl: my $result = Win32

How to install packages?

2004-08-12 Thread Siegfried Heintze
I'm trying to install bugzilla on Windows XP 2003 and the installation procedure says that I need to install AppConfig. So I point my browser at http://ppm.activestate.com/PPMPackages/5.6plus/ and right mouse click on AppConfig.ppd (I'm using IE 6 as my browser). This saves an AppConfig.xml file! H

FW: How to install AppConfig package?

2004-08-13 Thread Siegfried Heintze
I'm sorry if this appears twice. I sent it once, but I don't believe I was subscribed to the list at the time! I forgot to mention my main question: how do I download and install AppConfig? I'm trying to install bugzilla on Windows XP 2003 and the installation procedure says that I need to

Problems upgrading from ActiveState 5.6 to Cygwin 5.8

2004-08-18 Thread Siegfried Heintze
I had been previously using ActiveState 5.6/Windows 2003 server/Win32::ODBC/MSAccess2000 to develop a web site for my client. I recently decided to upgrade to Perl 5.8 from cygwin. I checked out my web site (too) briefly and it seemed fine. Later I discovered a problem with my SQL Update statemen

How to get browsers IP address?

2004-08-24 Thread Siegfried Heintze
How do I get the browser's IP address in a server side cgi perl script? The web server stores this information in an environment variable but I don't see a function to retrieve it in the 5.6.1 perldoc for cgi. Thanks, Siegfried

Storing Larges Chunks of Text or graphics in web applications

2004-08-25 Thread Siegfried Heintze
I inherited a perl CGI application that uses the integer primary key in the Microsoft Access database fabricate as the file name of flat text file to hold arbitrary amounts of text. It just dawned on me that this is a bad idea! If we compress the database, all those unique integer keys will change

Cookie Security

2004-08-31 Thread Siegfried Heintze
My client has had me implement some very proprietary algorithms. He wants to charge his clients money every time someone requests these calculations be preformed on their very sensitive. In addition my client anticipates storing this extremely sensitive data using Microsoft Access on his site

RE: Cookie Security

2004-08-31 Thread Siegfried Heintze
Please see my questions in line! Thanks! >> In addition my client anticipates storing this extremely sensitive data >> using Microsoft Access on his site which is largely implemented in Perl CGI. >> >> >Microsoft Access does not scale. Consider using SQL Server if it must >be MS, or investigate

Which interface should I be using for Database Access?

2004-09-01 Thread Siegfried Heintze
Wow! This is news to me! I've been using Win32::ODBC and was very worried about portability. Now I try perldoc and cannot find anything about using DBI with ODBC. However, I search CPAN and I find this: "3.3 Is DBI supported under Windows 95 / NT platforms? Finally, yes! Jeff Urlwin has been worki

Cookies v. Hiddent Fields

2004-09-01 Thread Siegfried Heintze
What is the difference (as far as security goes) between using a cookie and a hidden field? Are hidden fields cached if we are using SSL? I think not. If I use a GUID as a session ID in my database and store the GUID in a hidden field and the user sees the GUID in some GET parameters, is this

How to enumerate array elements?

2004-09-02 Thread Siegfried Heintze
Consider the following program: my $me; $me->{verd_result}->[0][2]=5; $me->{verd_result}->[0][5]=34; print "len = ", [EMAIL PROTECTED]>{verd_result}->[0]}}; for (@{$me->{verd_result}->[0]}){ print "\n v="; print; } It produces this output: len = 5 v= v= v=5 v= v= v=34

Variable interpolation inside an externa js file?

2004-11-22 Thread Siegfried Heintze
In my perl script I have put my javascript code in a separate file with the extension of js. I reference it with a javascript tag in the HTML. I have some code in there that is not in a procedure: it just executes prior to the body of the page loading as inline statements. Now I discover I need so

How to send mail using ActiveState and IIS

2005-01-07 Thread Siegfried Heintze
The perl script at the bottom was effective in sending email from a Perl CGI script on Win2K/IIS5. This script does not work anymore because CDONTS is not supported on our new server running Win2003 Server/IIS6. This VB/ASP script works on our new server, however: Set objCDOMail = Server.CreateO

How to use sub directories in IIS and Apache HTTPD

2005-02-05 Thread Siegfried Heintze
When I try to employ subdirectories my perl cgi programs stop working. This is because the "use" statements cannot find their files. I could convert the "use evidence_db;" statements to "require '../evidence_db.pm';" and that works. But this is painful. Surely there is an easier way. I thought of

Favorite Perl CGI Framework for Web Site Development?

2005-02-11 Thread Siegfried Heintze
I notice there are a lot of frameworks out there for .NET (eg, .NETNUK), PHP, and Java (eg AppFuse) programmers. These are sets of files that form a typical starter site (or skeleton) that have the basic common features for a web site: (1) cookie/password authentication authorization, send email fo

How to use mime types for excel?

2005-05-13 Thread Siegfried Heintze
I saw a very simple demonstration last night (at the Boulder Java users group) where Scott Davis showed a very simple java server pages program that transmitted HTML table data to a browser resident instance of Microsoft Excel. IE automatically looked at the mime types and invoked MS Excell to conv

RE: How to use mime types for excel?

2005-05-14 Thread Siegfried Heintze
iday, May 13, 2005 2:17 PM >To: beginners-cgi@perl.org >Subject: Re: How to use mime types for excel? > >On Fri, May 13, 2005 at 02:06:42PM -0600, Siegfried Heintze wrote: >> I saw a very simple demonstration last night (at the Boulder Java users >> group) where Scott Davis

Recommended approaches for exceptions, stacktraces, error messages

2005-05-16 Thread Siegfried Heintze
Is anybody (perhaps book authors) promoting a "best practices" for perl CGI programming? I've been doing the use warning; use strict; use CGI; # this is from memory, but you get the idea. my $q = CGI->new; my $html = ""; eval { $html .= " $data "; $html .= " more stuff $data2 ";

Recomdations for Template Plugins for Windows/CGI/ApacheHTTP

2005-05-16 Thread Siegfried Heintze
Does anyone use Template::Plugin on windows/cgi/ApacheHTTP? Template::Plugin::GD::Text looks very intriguing and I'm wondering if I should go thru the trouble to try to install it on windows. I assume I need to understand Template::Plugin first. Are these plugins using the Template Toolkit descri

When to print the cgi::header when using eval statement?

2005-06-01 Thread Siegfried Heintze
I was doing this: eval { push @results, " page content "; push @results, " more page content ..."; $title = "xyzz"; if($Data->fetch()) { die "Error, line ".__LINE__; } # I never see this line number! } if($@){ print $q->header(), start_html(-title => "Error $@"); # This never worke

How to write (and read) bit vector to (and from) MySQL?

2005-06-16 Thread Siegfried Heintze
I'm using the vec feature to create a bit vector and I want to write it to a mysql database. When this did not work using a string field, I tried tiny blob. It is writing some bits. When I get results back, they are not what I started with. Here is my code. Can someone tell me what I am doing w

RE: How to plug memory leak?

2005-06-20 Thread Siegfried Heintze
What about the memory used by threads? Do I have to join with a thread to recover its memory? I had trouble using the same four threads so I just create new ones when the old ones finish their assigned task. How do I delete the old threads that are idle? Thanks, Sieg -- To unsubscribe, e-mail