Re: How to get the given file as a Default in SaveAs Dialog Box of an application.

2001-07-02 Thread $Bill Luebkert
Syed Anwaruddin wrote: > > Hi ALL, > > I have an application where I get a *.tar.gz file. Now I want this file to > save it on my client System. I am using an application: > print "Content-Type: application/x-zip-compressed\n\n"; to save the file. > > This application will pop up a Save As dial

How to get the given file as a Default in SaveAs Dialog Box of an application.

2001-07-02 Thread Syed Anwaruddin
Hi ALL, I have an application where I get a *.tar.gz file. Now I want this file to save it on my client System. I am using an application: print "Content-Type: application/x-zip-compressed\n\n"; to save the file. This application will pop up a Save As dialog box. In this Dialog Box there is a

Re: regexp question

2001-07-02 Thread Tim Hammerquist
Chris Devers wrote: > > On Mon, 2 Jul 2001, Tim Hammerquist wrote: > > > Chris Devers wrote: > > > > > > At 10:45 AM 2001.07.02 +0100, Kristofer Wolff wrote: > > > > > > I don't know, but I also don't know why you're trying to match > > > everything. You don't seem to be interested in text outsi

Re: regexp question

2001-07-02 Thread Chris Devers
On Mon, 2 Jul 2001, Tim Hammerquist wrote: > Chris Devers wrote: > > > > At 10:45 AM 2001.07.02 +0100, Kristofer Wolff wrote: > > > > I don't know, but I also don't know why you're trying to match > > everything. You don't seem to be interested in text outside the > > title tags, so skip it. A

RE: Brakeout

2001-07-02 Thread scott [gts]
perl is server-side. HTML or javascript are what you want to use for frames > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of danny > martin > Sent: Monday, July 02, 2001 2:12 PM > To: [EMAIL PROTECTED] > Subject: Brakeout > > > Hello everyone! >

Re: regexp question

2001-07-02 Thread Tim Hammerquist
Chris Devers wrote: > > At 10:45 AM 2001.07.02 +0100, Kristofer Wolff wrote: > >hi folks i do a simple thing: parsing out the site title of an html... > > > >$subject =~ s/^(.*)\(.*)\<\/title\>(.*)$/$2/i; > > > >but he returns the complete HTML file, why ? > > I don't know, but I also do

Re: ASP Questions

2001-07-02 Thread Tim Hammerquist
"Prohaska, Tim" wrote: > > We have an intern here that bleeds Microsoft. He insists that ASP's are so > perfect > for WEB development that one would be a fool to do any thing else. ASP is the best technology for web development that I've seen come out of Redmond, but it's not the end-all and be-

RE: Brakeout

2001-07-02 Thread Chris Devers
At 02:54 PM 2001.07.02 -0400, danny martin wrote: >Here is a link to my test site: >http://168.20.197.200/mof15/index.html > >On the shopping cart home link I want to return to the SSU main page and >break out the the frame that I run the site with. Egad, now I remember why I don't like frames --

RE: ASP Questions

2001-07-02 Thread Paul Rogers [CE]
> -Original Message- > From: [EMAIL PROTECTED] > Behalf Of Ron Grabowski > Sent: Monday, July 02, 2001 11:53 AM > ASP is a lot faster than straight CGI scripts. VBScript is a > lot faster than Perlscript. I wonder if PerlScript will always be the slower solution. I'd hate to think so.

Re: Brakeout

2001-07-02 Thread Chris Devers
On Mon, 2 Jul 2001, danny martin wrote: > Does Perl have a command that will allow me to brake [sic] out of a > frame while changing to a hyperlink? > > In HTML it is target=_top. You're running perl in a "frame"? You may have bigger problems here... :) If you're writing perl to generate html

Brakeout

2001-07-02 Thread danny martin
Hello everyone! Does Perl have a command that will allow me to brake out of a frame while changing to a hyperlink? In HTML it is target=_top. Thank you. Danny ___ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/

Re: regexp question

2001-07-02 Thread Chris Devers
At 10:45 AM 2001.07.02 +0100, Kristofer Wolff wrote: >hi folks i do a simple thing: parsing out the site title of an html... > >$subject =~ s/^(.*)\(.*)\<\/title\>(.*)$/$2/i; > >but he returns the complete HTML file, why ? I don't know, but I also don't know why you're trying to match eve

Re: Help!!Client Address

2001-07-02 Thread Chris Devers
At 09:38 AM 2001.07.02 +, Syed Anwaruddin wrote: >How to get the Client IP address from the Server Ip Address??? Try the Digital InterWeb. No wait, try TCP/IP. Oh alright, try this: $clientip = $ENV{'CLIENT_IP_ADDRESS'}; but that doesn't really work a lot of the time. Every computer in

RE: how to get file from file upload

2001-07-02 Thread Richard A. Evans
Andy, The problem likely isn't with the CGI script at all, but is a permissions issue on the server. You need to know 'who' runs the perl script on the server and make sure that user has access to the upload directory. For example, if the cgi scripts run as 'nobody', then 'nobody' needs to have

Re: ASP Questions

2001-07-02 Thread Ron Grabowski
> Does the PERL ASP module for Apache emulate an ASP engine? ASP is a scripting host. It supports any language that will run under it. Perlscript is just one of many lanauges that can use the ASP object model VBScript and sever-side JavaScript being two of the other ones ). Under the ASP model o

Re: Help Please.

2001-07-02 Thread scott [gts]
or you could output the raw contents of the file after sending the appropriate headers... albeit, a simple redirect is much easier :) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Gonzalo Quan > Sent: Monday, July 02, 2001 4:42 AM > To: Syed An

ASP Questions

2001-07-02 Thread Prohaska, Tim
We have an intern here that bleeds Microsoft. He insists that ASP's are so perfect for WEB development that one would be a fool to do any thing else. (Internally we are running Apache / Tomcat / Perl on WinNT 4.0.) Does the PERL ASP module for Apache emulate an ASP engine? Can I take ASP's that

how to get file from file upload

2001-07-02 Thread andy
hi, this is the first time i'm trying to use the input type="file" component. I want to upload a file and send it as an attachement. The error I am getting is: open ./: Permission denied How can i set permissions so i can send the file? --andy-- _

sorting arrays by more than one field

2001-07-02 Thread Vieregg, Dirk
I have a multidimensional array. Right now, I am sorting an array using this piece of code: @Phone = sort{ uc($a->[$Sort]) cmp uc($b->[$Sort]) } @Phone; $Sort is the index number, e.g. phone number, name, etc. Is there a way to sort by more than one index at the same time. To give an example: I

Re: Fixing a URL...

2001-07-02 Thread Jenda Krynicky
$Bill Luebkert wrote: > Franki wrote: > > > > Hi all, > > > > I have a problem I was hoping someone could help me with, > > > > I have this loop: > > use URI::Escape; > > >foreach $tag ( sort ( keys %form ) ) > > { > > > > $redirect .= "&" . $tag . "=" . $form{ $t

RE: how to use Net::SMTP to mail to multiple users

2001-07-02 Thread Jenda Krynicky
Andrew Stevens wrote: > Try: > > $smtp->datasend("To: $formdata{'email1'}\n, $formdata{'email2'}\n"); > > with \n after each email address. > > Andy I seriously doubt this would work. Unless the following line starts with a tab a newline ENDs a header. In this case your code would produce i

Re: Help!!Client Address

2001-07-02 Thread $Bill Luebkert
Syed Anwaruddin wrote: > > Hi ALL, > > How to get the Client IP address from the Server Ip Address??? That makes no sense - they're two different addresses. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / )// // DBE Collectibles Mailto:[EMAIL PROTECTED]

Help!!Client Address

2001-07-02 Thread Syed Anwaruddin
Hi ALL, How to get the Client IP address from the Server Ip Address??? Thanks Syed. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ Perl-Win32-Web

RE: regexp question

2001-07-02 Thread Lee Goddard
HTML::TokeParser is, as they say, your friend. perldoc html::tokeparser This example extract the from the document: use HTML::TokeParser; $p = HTML::TokeParser->new(shift||"index.html"); if ($p->get_tag("title")) { my $title = $p->get_trimmed_text; pri

RE: help!!!! browser interface on local machine

2001-07-02 Thread Matthew Thompson
If your not stuck to using a certain web browser you could use Mozilla. I understand there is a CGI add-on that enables you to run CGI scripts without a http server. On problem with that is I haven't been able to connect to http://www.mozilla.org for a few days now - is anyone else having this pro

Re: AW: regexp question

2001-07-02 Thread $Bill Luebkert
Kristofer Wolff wrote: > > i fixed thet problem with : > > $subjectNF =~ s/\n//g; > $subjectNF =~ s/^(.*)(.*)<\/title>(.*)$/$2/i; > > why regexp has problems with newlines in the string ??? Try adding an s after the /i eg: ... =~ s/.../.../is; You won't need to remove the newl

AW: regexp question

2001-07-02 Thread Kristofer Wolff
i fixed thet problem with : $subjectNF =~ s/\n//g; $subjectNF =~ s/^(.*)(.*)<\/title>(.*)$/$2/i; why regexp has problems with newlines in the string ??? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Kristofer Wolff Gesendet: Mo

Re: Help Please.

2001-07-02 Thread Gonzalo Quan
Hi, try calling a redirect to the file you have just manipulated on your server by your first script.. This will make the browser download your file as long as the extension of your file is set on the client as a downloadable file not inline as a .pdf for instance HTH G At 04:23 AM 7/2/20

regexp question

2001-07-02 Thread Kristofer Wolff
hi folks i do a simple thing: parsing out the site title of an html... $subject =~ s/^(.*)\(.*)\<\/title\>(.*)$/$2/i; but he returns the complete HTML file, why ? any helps ? what didi i wrong ? thanx kris ___ Perl-Win32-Web mailing list

Help Please.

2001-07-02 Thread Syed Anwaruddin
Hi ALL, I have a problem in downloading the files to a client machine. My Web Server is runing on one machine and my client on another. I started the Browser on Client and trying to download the files to the client. But my perl script is putting the files on the Server. My Script logic is as f