Problems installing DBD::Mysql

2003-02-22 Thread Alex Agerholm
Hi

Can anybody help me I have a problem installing DBD::Mysql on a windows XP
machine.
Running ppm install DBD::mysql returns the message Read a PPD for
'DBD-mysql' but it is not intended for this build of Perl
(MSWin32-x86-multi-thread)

Thanks
Alex


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Download of files

2003-01-25 Thread Alex Agerholm
Hi,

Is it possible to make download of files like you can make upload of files
from a CGI script ?

/Alex


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Generate Word document from text

2002-10-29 Thread Alex Agerholm
Hi,

Does anyone know a way for me to generate a Word document from som text I
have in Perl ?
I want to be able to make a few headlines and a header and footer.

Regards
Alex


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


GPL - how does it work

2002-09-18 Thread Alex Agerholm

Hi,

I am quite new to Perl and GPL, so I hope that someone can help me or direct
me to where I can read about this.

I am writing a CGI application/script in Perl which I am going to sell
This application uses a few Perl modules (CGI.pm, Session.pm) which is
covered by the GPL.
How am I going to handle that, when I do not want to release my application
under GPL ?

In other words how can you use Perl modules under GPL in commercial
applications without making your application public ?

Thanks in advance
Alex



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to protect Perl code

2002-09-02 Thread Alex Agerholm

Hi,

Can anyone give me a good way to protect my Perl code.
I am writing a CGI application in Perl that I am going to sell - therefore I
would like to protect my code in such a way that it is not that easy to copy
the code and reuse/resell/distribute it.
Does anyone have a good sugestion howto do this ?

Regards
Alex



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Password protection without the use of .htaccess

2002-09-02 Thread Alex Agerholm

Hi,

Can anyone direct me to some good source code example, on how to password
protect some CGI scripts.
As I want the solution to be portable, I do not want to use .htaccess.
I would prefer som code to make a login page and verify the username and
password against a SQL database, then set a cookie with an ID of the logged
in user. And on all protected scripts simply call a check function that
lookup the ID in the SQL database to see if it is legal and if not redirects
to the login page.
Any other sugestions are welcome



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Redirect and cookies

2002-09-01 Thread Alex Agerholm

Hi Curtis,

Thanks for your help, I am actually on IIS so you have saved me a lot of
troubles.
Do you know how to work around this ?
From the microsoft article below it seems like running in nph mode should
solve it but redirect(-uri = xxx.cgi, -cookie = $cookie, -nph = 1) does
not solve it and neither does using the -nph pragma in the the use CGI line.

Regards
Alex

-Original Message-
From: Ovid [mailto:[EMAIL PROTECTED]]
Sent: 1. september 2002 03:17
To: Alex Agerholm; [EMAIL PROTECTED]
Subject: Re: Redirect and cookies


 I have made a login system and when the user has logged in correctly I set
a
 cookie and redirects the user to the first page.
 But on all pages (including the first one) I make a check to see if the
user
 is logged in based on the cookie.

 When I redirect from the login page to the first page I therefore need to
 give the cookie along like:  redirect( -uri=xxx.cgi, -cookie=$cookie);
 BUT IT DOES NOT WORK - my xxx.cgi script does not get the cookie.
 What can I do to fix this ?

Hi Alex,

Is there any chance that you are on IIS?  IIS has had a long-standing bug in
version 3.0, 4.0, and
5.0 where you cannot set a cookie and do a redirect at the same time unless
you switch to
non-parsed header scripts.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q176113

Cheers,
Curtis Ovid Poe

=
Ovid on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Taint mode and redirect with cookie

2002-08-29 Thread Alex Agerholm

Hi,

I have 2 questions:

1) I am developing some Perl code under Windows 2000. If I in the first line
writes !c:\perl\bin\perl -wT I get the error too late for -T option what
does that mean

2) when I make a print redirect(-uri=xxx.cgi, -cookie=$cookie); then my
xxx.cgi script does not get the cookie - what is wrong ?

Thanks in advance
Alex



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Protected WEB pages in Perl

2002-08-13 Thread Alex Agerholm

Hi everyone

I am new to writing CGI code in Perl and I am going to make some protected
WEB pages using Perl.
Can anyone direct me to some sample code for making a simple login system
and some protected WEB pages ?

Thanks in advance

Regards
Alex



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]