Hi, sorry for posting this question to the wrong list.
I am running Windows XP and perl 5.6.8, when I ppm install DBD, by
typing this at my dos prompt:
C:\Perl\modules>ppm install DBD-ODBC
I get this error:
C:\Perl\moduleError: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.co
-Original Message-
From: Werner Otto [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 1:25 PM
To: [EMAIL PROTECTED]
Subject: Link
Hi all,
I have form that is made up of records retrieved from a database. The
first column presents the information as a hyperlink. I need to be able
-Original Message-
From: Werner Otto [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 1:58 PM
To: Ash Singh; [EMAIL PROTECTED]
Subject: Re: Link
On Mon, 14 Jun 2004 13:46:04 +0200, Ash Singh <[EMAIL PROTECTED]>
wrote:
>
>
> -Original Message-
> From: W
What is the perl code to redirect
to a new url, in cgi. All I need is
to execute a perl script and when its
done to redirect the clients browser to a new location.
I am running Windows 2000 and IIS.
Developer
eMessageX.com
Tel: +27 (0)11 789 1808
Fax: +27
print
$query->redirect('http://www.google.com ');
Thanks a lot for your assistance, I need to
redirect and the browser automatically go to that location, without any user
intervention. Is there any way to do this.
Developer
eMessageX.com
Tel: +27 (0)1
I am trying to install Text-CSV from my dos prompt. I
downloaded the ppd from activestate
perl. I get this error, what shall I do.
C:\Perl\ppds\cpan>ppm install
Text-CSV.ppd
Error: No valid repositories: Error: 501 Can't
locate object method
"new" via package "LWP::Protocol::http" Err
Use Internet Information Server (IIS) its an add on from the Windows 2000
CD, this will act as your web server.
To configure perl on your machine (Win2000), -> right click on my computer
icon -> click on properties -> click on advanced -> click on environment
variables
-> On the System variables
you in advance.
Ash Singh
Programmer
email:
[EMAIL PROTECTED]
tel:
+27 (11) 789-1808
fax:
+27 (11) 326-0156
cell:
+27
nking you in advance
Ash Singh
Programmer
email:
[EMAIL PROTECTED]
tel:
+27 (11) 789-1808
fax:
+27 (11) 326-0156
cell:
+2
Hi,
I am designing a form using cgi and
when the user clicks the submit button, the form must print to the users local printer
and then submit.
Thanking you in advance
Ash Singh
Programmer
email:
[EMAIL PROTECTED
vs. a 2 for a prompting dialog box
WebBrowser1.outerHTML = "";
}
}
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: 18 March 2004 04:17 PM
To: Ash Singh; '[EMAIL PROTECTED]'
Subject: Re: Submit button to print form and then submit
>
> H
Use this as an example, it converts the file to binary mode just in case its
not. It also strips out the path of the file coming from the user's local
machine.
#!/usr/bin/perl
use CGI;
use strict;
my $cgi = new CGI; print $cgi->header;
my $query = CGI::new();
use CGI qw(param);
my ($bytesread,
Instead of using cgili_lib rather use cgi,
http://search.cpan.org/~lds/CGI.pm-3.00/CGI.pm#CREATING_A_FILE_UPLOAD_FIELD
I have already posted this code snippet I wrote but here's it again as an
example:-
#!/usr/bin/perl
use CGI;
use strict;
my $cgi = new CGI; print $cgi->header;
my $query = CGI
Alternatively, I think your form is missing "multipart/form-data" hence the
error "cgi-lib.pl: reached end of input while seeking boundary of
multipart. Format of CGI input is wrong."
Basically your form does not have the correct boundaries which is essential
for a file upload to work, whether y
Subject: RE: File upload
Alternatively, I think your form is missing "multipart/form-data" hence the
error "cgi-lib.pl: reached end of input while seeking boundary of
multipart. Format of CGI input is wrong."
Basically your form does not have the correct boundaries which is essential
for a fi
Try this:
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 03:59 PM
To: Perl Lists
Subject: Escaping quotes in variable content
Hi all,
how can I escape quotes within a variable's content? I use the following
directive to fill an HTML form:
Unfortun
This is better, replace the quotes with nothing and then build your input
tag.
#!/usr/bin/perl
use CGI;
use strict;
my $cgi = new CGI; print $cgi->header;
my $query = CGI::new();
my $frage_text= "\"Hello World\"";
$frage_text =~ s/"//g;
print "http://www.somewhere.com\";>\n";
print " \n";
p
17 matches
Mail list logo