And I was just going to leave that as a joke answer, but on serious
reflection, your CGI "scripts" should be nothing more than
configuration and method calls against a testable module. It's hard
to test a script, but easy to test a module. Maybe that's why I like
frameworks such as Catalyst an
As you can see, but putting things into packages, we can make nicely
encapsulated functions or methods. By depending only on what they
accept and not having side-effects, it's very easy to write tests for
them. As a result, when you're testing some other code that
accidentally passes in a DBI
Ovid wrote:
--- Tony Frasketi <[EMAIL PROTECTED]> wrote:
Thank a lot Ovid Your explanation enlightened me to the existance
of the variousTest modules...
You're quite welcome.
Test::Unit <http://search.cpan.org/perldoc/Test::Unit> is an
interesting XU
ically bringing up a "Save As" dialogue box?
I've googled for such things as "mime type download save as etc" but
came up with dead ends
TIA
Tony Frasketi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http
to investigate this
some more.
I will look around for some javascripts as you suggested. I'm currently
using Mozilla 5.0 suite, I suppose Firefox amounts to the same thing as
far as this topic goes.
I would have thought this feature would have certainly been worked out
by this time
rings up the 'Save as...' dialogue box
.cgi file -> Executes the .cgi script and displays results in browser window
SO... Filefox wins by getting two out of the three
right!
This method doesn't look very hopeful at this point!
Thanks again
Tony Frasketi
of experience here prevents me from proceeding
further...
TIA
Tony Frasketi
David Dorward wrote:
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
nome
<---
=====
Hopefully you can come up that missing statement that will perform the
magic
I'm looking for or suggest somewhere else to look.
Thanks again
Tony Frasketi
Wiggins d'Anconia wrote:
Interesting way to do it, not what I intended. Have you 100% confirmed
that the header is being passed back correctly? I am not sure how Apache
(or whatever web server you are using) handles setting the type, it
might be finding it from somewhere else that is overridin
Sara wrote:
Hi all,
Did you read it?
Content-Disposition -> "do not enclose filenames in quotes"
http://support.microsoft.com/kb/q182315/
Thanks,
Sara.
Thanks very much for the info, Sara ! Will try it without the quotes!
Tony Frasketi
--
To unsubscribe, e-mail: [EMAIL P
l came up with a
'File Download' dialogue box (although different flavors). I think I
need to do some further testing on different file types (e.g., .exe,
.zip, .jpg, etc...) But that will have to wait till a bit later.
I want to thank everyone who responded to my posting. I think
11 matches
Mail list logo