PPM Install

2004-06-07 Thread Ash Singh
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

RE: Link

2004-06-14 Thread Ash Singh
-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

RE: Link

2004-06-14 Thread Ash Singh
-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

Redirecting to a different url with cgi

2003-11-26 Thread Ash Singh
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

CGI Redirection

2003-11-26 Thread Ash Singh
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

Help with PPM install

2003-12-01 Thread Ash Singh
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

RE: help with perl setup...and upgrade

2004-02-23 Thread Ash Singh
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

Perl for Linux

2004-03-03 Thread Ash Singh
you in advance.       Ash Singh Programmer email: [EMAIL PROTECTED] tel: +27 (11) 789-1808 fax: +27 (11) 326-0156 cell: +27

Perl Script to detect a file upload

2004-03-05 Thread Ash Singh
nking you in advance     Ash Singh Programmer email: [EMAIL PROTECTED] tel: +27 (11) 789-1808 fax: +27 (11) 326-0156 cell: +2

Submit button to print form and then submit

2004-03-18 Thread Ash Singh
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

RE: Submit button to print form and then submit

2004-03-18 Thread Ash Singh
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

RE: Uploading file

2004-03-18 Thread Ash Singh
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,

RE: File upload

2004-03-19 Thread Ash Singh
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

RE: File upload

2004-03-19 Thread Ash Singh
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

RE: FileUpload

2004-03-19 Thread Ash Singh
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

RE: Escaping quotes in variable content

2004-05-11 Thread Ash Singh
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

RE: Escaping quotes in variable content

2004-05-11 Thread Ash Singh
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