Re: splitting on filename separators

2001-07-06 Thread Aaron Craig
At 12:22 06.07.2001 +0530, Byju P.Nair wrote: >if (!defined $nexturl || $nexturl eq "") { > # Sets nexturl to be argv0, stripping everything up to and > # including the last slash. > $0 =~ m:[^/]*$:; > $nexturl = $&; > } >

newbie question

2001-07-06 Thread nila devaraj
Hi i have a webserver that has been configured for CGI scripting. i placed the HTML file in the required directory and the cgi program in the wincgi directory of the webserver. The problem i am facing is- if i submit my form i am getting the download/save dialog box.If i say open it is opening a

Re: newbie question

2001-07-06 Thread Aaron Craig
You should always include the code that is giving you the problem when you ask a question. It makes it a lot easier for us to help you. Could you send your code? At 02:24 06.07.2001 -0700, nila devaraj wrote: >Hi >i have a webserver that has been configured for CGI >scripting. i placed the H

Re: newbie question

2001-07-06 Thread Rajeev Rumale
yes that will also keep you away for the various assumptions very one would be makeing, and you get a correct answer early. with regards Rajeev Rumale ~~~ Rajeev Rumale MyAngel.Net Pte Ltd.,P

Re: SQL - Multiple Updates ?

2001-07-06 Thread fliptop
Rajeev Rumale wrote: > > 1. > @del_list = split(",", $in{del_industry}); > foreach $id (@del_list) { > $id= "(industry_id='$id')"; > } > $where = join(" or ", @del_list); > $sql ="update industry_list set deleted='y' where ($where)"; > $dbh = DBI->connect($site{dsn}); > &displayError("Unable

Re: newbie question

2001-07-06 Thread fliptop
Aaron Craig wrote: > > You should always include the code that is giving you the problem when you > ask a question. It makes it a lot easier for us to help you. Could you > send your code? also include what platform (i'm guessing windows) and webserver you are using.

Re: newbie question

2001-07-06 Thread Rajeev Rumale
Sorry I forgot mention the same. But you gussed it write, I am using IIS on win2k wiht MYSQL as database. ofcourse with Active Perl. regards Rajeev Rumale - Original Message - From: "fliptop" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2

Re: newbie question

2001-07-06 Thread Mark Bergeron
Is your directory set to scripts access? -Original Message- From: "nila devaraj"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Fri Jul 06 02:24:31 PDT 2001 Subject: newbie question >Hi >i have a webserver that has been configured for CGI >scripting. i placed the HTML file in the requir

Re: newbie question

2001-07-06 Thread Adam Carson
Also, are you sure you have the scripts in the CGI-bin? And is your server set to look in the right folder for CGIs? If you don't have a shebang line, adding one might also help. I went through this same problem a couple of weeks ago. BTW, what server is it? Someone might have said, but I

Sending cgi parameters from email

2001-07-06 Thread Peter Cline
Does anyone know if it is possible to send cgi parameters from an email message to a cgi script? I have created an HTML email (only to be used internally with mail clients that are known to support it) that is basically an html form. The action of this form gives the fully-qualified URL of a

Re: Configuring cgi scripts on Windows2000

2001-07-06 Thread Greg Jetter
On Thursday 05 July 2001 08:58, Curtis Poe wrote: > --- Greg Jetter <[EMAIL PROTECTED]> wrote: > > Well you found one here , I've worked with it since the first version , > > in fact I work with it daily , it's how I earn my daily bread. You can > > not separate it's shortcommings from the que

Web activated Perl script

2001-07-06 Thread Domenic . Santilli
Okay I have an odd question here. I have a Perl script that runs from the command line, accepting arguments, i.e. 'perl text2html.pl --d=01/04/2001 --input=data.txt --file_name=foo.html'. I want to be able to activate it via the Web from a form that I wrote using the CGI.pm module. The user will f

Re: Sending cgi parameters from email

2001-07-06 Thread fliptop
Peter Cline wrote: > > Does anyone know if it is possible to send cgi parameters from an email > message to a cgi script? > > I have created an HTML email (only to be used internally with mail clients > that are known to support it) that is basically an html form. The action > of this form giv

Re: how to write in access database

2001-07-06 Thread Wilfried Mouquot
Hi QU As a matter of fact, if you are using your script Perl on Windows, you should use with the DBI (DataBase Independent) the driver DBD::ODBC. If not, you could use (under Linux for example) the Sybase driver which works also with a SQLServer database. DBD is obviously for DataBase Dependent.

Re: Re: how to write in access database

2001-07-06 Thread Mark Bergeron
If you are going to move in the direction of database programming, the best place to start would be with Programming the Perl DBI (the Cheetah book). It was invaluable to me when first starting out in the dB/ Perl direction. Here is the link to the book on the Barnes and Nobles site. Check it o

beginner's addressbook tutorial - Step 8 - creating methods to display record details

2001-07-06 Thread fliptop
step 8 is complete, and is available at: http://www.peacecomputers.com/addressbook_toot-step8.html coming next - step 9 - The restricted perl handler and methods to add new records

Re: how to write in access database

2001-07-06 Thread Gary Stainburn
Hi, Qu I haven't tried it with Access, but have a look at DBI which is an abstract database access layer that uses lower level drivers. I would imagine you'd need the DBD::OBDC driver. They're available from CPAN at http://search.cpan.org Gary On Thursday 05 July 2001 6:56 pm, qing wang w

Re[2]: The Perl Journal

2001-07-06 Thread charles
yep. my bad. all of my issues came through buying back issues, so i never even bothered to look at the dates. On Fri, 6 Jul 2001, Tim Musson wrote: > Hey Chas, > > Friday, July 06, 2001, 4:24:27 PM, my MUA believes you used > Evolution/0.10.99 (Preview Release) to write: > > CO> On 06 Jul 2001

Re: The Perl Journal

2001-07-06 Thread charles
I hate to be the bearer of possibly bad news, but the Perl Journal will not be returning as a full fledged monthly magazine. I was told today by cmp that it will only be released as a quarterly supplement to subscribers of sysadmin. Granted, I enjoy the thought that it is at least available, but

The Perl Journal

2001-07-06 Thread Brett W. McCoy
If you haven't heard yet, you might be interested to know that CMP, publishers of Dr. Dobb's, SysAdmin, Web Techniques, www.webreview.com, etc., has just bought our beloved Perl Journal. If you haven't seen the announcement in the variety of places such things are typcially announced, you can rea

Re: The Perl Journal

2001-07-06 Thread Brett W. McCoy
On Fri, 6 Jul 2001 [EMAIL PROTECTED] wrote: > I hate to be the bearer of possibly bad news, but the Perl Journal will > not be returning as a full fledged monthly magazine. I was told today by > cmp that it will only be released as a quarterly supplement to subscribers > of sysadmin. > Granted, I

Re: The Perl Journal

2001-07-06 Thread Chas Owens
On 06 Jul 2001 15:15:07 -0400, Brett W. McCoy wrote: > On Fri, 6 Jul 2001 [EMAIL PROTECTED] wrote: > > > I hate to be the bearer of possibly bad news, but the Perl Journal will > > not be returning as a full fledged monthly magazine. I was told today by > > cmp that it will only be released as a