Re: Forcing a save as' dialogue box to come up on left click

2005-09-19 Thread David Dorward
On Sun, 2005-09-18 at 17:46 -0500, Tony Frasketi wrote: I'm trying to find a way to force a download dialogue box to come up when the user clicks on a link on a web page http://www.faqs.org/rfcs/rfc2183.html -- David Dorward http://dorward.me.uk/ Anybody remotely

Re: problems with CGI.pm upload feature

2005-09-19 Thread Scott R. Godin
Scott R. Godin wrote: script is at http://phpfi.com/78748 Possibly used the wrong web browser to upload the file. Not all of them support this feature. Firefox does not. It will however provide the CGI script with the file name. Firefox doesn't support file uploads? I use it all the

RE: problems with CGI.pm upload feature

2005-09-19 Thread Charles K. Clarkson
Scott R. Godin mailto:[EMAIL PROTECTED] wrote: : Regrettably this isn't getting me any closer to a resolution -- : what about the code? can anyone see anything I might have : overlooked? done wrong? should it, in fact, be working right : now? Did you test to be certain that @file actually

Re: Forcing a save as' dialogue box to come up on left click

2005-09-19 Thread Tony Frasketi
Thanks for the response, David. I scanned thru the document to which you refer and from what I can understand it appears 'to me' that the 'Content-Disposition Header Field being described is in the context of email messages. Can you give me some more information as to whether this can apply

Re: Forcing a save as' dialogue box to come up on left click

2005-09-19 Thread Wiggins d'Anconia
Tony Frasketi wrote: Wiggins d'Anconia wrote: Most browsers will provide this functionality if the return header is application/octet-stream rather than text/html or the like. In the case of IE you may have to fool the browser into thinking it is getting something different than it is

Re: Forcing a save as' dialogue box to come up on left click

2005-09-19 Thread Tony Frasketi
What I was intending was to call the cgi script and rather than it printing the normal text/html header it would print the header directly, that way you are guaranteed to be operating the way you intended. Hi Wiggins Thanks for this suggestion... I've tried the following bit of CGI script

Re: Forcing a save as' dialogue box to come up on left click

2005-09-19 Thread Wiggins d'Anconia
Tony Frasketi wrote: What I was intending was to call the cgi script and rather than it printing the normal text/html header it would print the header directly, that way you are guaranteed to be operating the way you intended. Hi Wiggins Thanks for this suggestion... I've tried the

Re: displaying a message using perl code

2005-09-19 Thread Owen Cook
On Mon, 19 Sep 2005, David Swiderski wrote: I tried to view the perl demo at the link you provided in your email http://www.pcug.org.au/~rcook/tute.cgi and WAS unable to GET TO THE DEMO to view it. Fair enough, but you didn't say in what way you couldn't view that. Just a couple of text

Re: Assistance needed with script.......

2005-09-19 Thread John Doe
Bryan Jones am Sonntag, 18. September 2005 23.46: That worked well - Thanks. Could you assist me into understanding what exactly that has done. if ( /^\s+Device Capacity/ ) {-- I understand this, this is a normal regex search. local $/ = '}'; -- I understand

regd. cgi -apache

2005-09-19 Thread mayank . ahuja
Hi perlers I am having IBM http server installed on my unix machine.. But ro run cgi perl files I think we need apache. Though http server supports apache functions. But stillI am facing problem could u please tell me what to do Actuallly I am totally new to cgi

encoding - utf-8

2005-09-19 Thread Alois Heuboeck
Hello, I have a problem, apparently on an encoding issue, but can't figure out where it comes from. Could someone please help? I'm reading from an XML file that contains the line [1] ...Bergson referred as durée; the way... Then I parse the file with XML::DOM::Parser and print it out

RE: Where is the data I just inserted?

2005-09-19 Thread Charles K. Clarkson
Siegfried Heintze mailto:[EMAIL PROTECTED] wrote: : I'm using the DBI with ODBC on MS Access. : : I perform a SELECT. If this fails to find anything, I perform an : INSERT and SELECT MAX(id). : : Then I perform the exact same SELECT statement that I first : performed and it does not find what I

Re: Package require question again

2005-09-19 Thread Jeff 'japhy' Pinyan
On Sep 17, Luinrandir said: ok I have the program working again. but how do I get a var from the package? and the cgi calls the var in the package like this my $V = $main::{$Player{Location} . ::}{Options}; What does that return to you? A glob. And a glob is like a reference to every data

Re: Package require question again

2005-09-19 Thread Luinrandir
- Original Message - From: Jeff 'japhy' Pinyan [EMAIL PROTECTED] To: Luinrandir [EMAIL PROTECTED] Cc: beginners@perl.org Sent: Monday, September 19, 2005 6:43 AM Subject: Re: Package require question again my $g = $main::{$Player{Location} . ::}{Options}; my $value = $$g; or,

Re: Package require question again

2005-09-19 Thread Chris Devers
On Mon, 19 Sep 2005, Luinrandir wrote: From: Jeff 'japhy' Pinyan [EMAIL PROTECTED] my $g = $main::{$Player{Location} . ::}{Options}; my $value = $$g; is the double $$ in $$g a mistake or real? It's real. He's dereferencing that which $g refers to. Read up on references. --

RE: Package require question again

2005-09-19 Thread Charles K. Clarkson
Luinrandir mailto:[EMAIL PROTECTED] wrote: : : is the double $$ in $$g a mistake or real? Real. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Problems with DDE.pm

2005-09-19 Thread Joe Melvin
Let me preface this message with an honest assertion that I'm not very knowledgeable about Perl modules or DDE's. I have written a script using the DDE.pm module. Sometimes it runs for hours, happily doing what it's supposed to do. Other times, it cries out: Undefined subroutine main::

Re: Package require question again

2005-09-19 Thread Jeff 'japhy' Pinyan
On Sep 19, Luinrandir said: From: Jeff 'japhy' Pinyan [EMAIL PROTECTED] my $g = $main::{$Player{Location} . ::}{Options}; my $value = $$g; or, as one line: my $value = ${ $main::{$Player{Location} . ::}{Options} }; is the double $$ in $$g a mistake or real? If it was a typo,

Re: Problems with DDE.pm

2005-09-19 Thread Joe Melvin
Sorry - the real name of the module is Win32::DDE: Joe Melvin wrote: Let me preface this message with an honest assertion that I'm not very knowledgeable about Perl modules or DDE's. I have written a script using the DDE.pm module. Sometimes it runs for hours, happily doing what it's

RE: Where is the data I just inserted?

2005-09-19 Thread Siegfried Heintze
-Original Message- My code with line numbers is below. Without line numbers is in the attachment. Thank you very much for taking an interest in my problem! The problem does not seem to occur for smaller records. Siegfried From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent:

Re: Problems with DDE.pm

2005-09-19 Thread John W. Krahn
Joe Melvin wrote: Let me preface this message with an honest assertion that I'm not very knowledgeable about Perl modules or DDE's. I have written a script using the DDE.pm module. Sometimes it runs for hours, happily doing what it's supposed to do. Other times, it cries out: Undefined

RE: Where is the data I just inserted?

2005-09-19 Thread Siegfried Heintze
Problem found! Thanks for your help! The problem was that I was trying to store a string that was longer than the field definition in the database. When I adjusted the field length in the database, that fixed the problem! Hurray! Thanks again, Siegfried -Original Message- From:

Re: Problems with DDE.pm

2005-09-19 Thread Joe Melvin
John W. Krahn wrote: I would *guess* that some part of DDE is expecting a callback sub but is not getting it. IIRC, DDE was introduced for Windows 3.1 and is not used anymore. Sadly, in the world of ham radio software, nothing ever dies. DDE and serial ports are about as cutting-edge as

Re: regd. cgi -apache

2005-09-19 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: Hi perlers I am having IBM http server installed on my unix machine.. But ro run cgi perl files I think we need apache. Though http server supports apache functions. But stillI am facing problem could u please tell me what to do

[ANNOUNCE] Gtk2::Ex::DBI-1.3 and Gtk2::Ex::Datasheet::DBI-0.9

2005-09-19 Thread Dan
I'm pleased to announce the next round of updates to Axis Not Evil, a suit of Perl modules that combine to provide an alternative to a 'leading' software vendor's RAD design tool for database access. Project Page: http://entropy.homelinux.org/axis_not_evil/ --- Gtk2::Ex::DBI Changelog for this