On 12 Aug 2019, at 19:45, Matt Zand wrote:
use CGI;
Do read [CGI: CGI.pm has been removed from the Perl core][1]
Should I install Perl on the server or does it come with Apache
package.
Apache HTTPD does not include a Perl distribution although some
third-party bundles include both Perl a
to do CGI programming in PHP (which you already know), but
PSGI[1] is the flavour du jour for server side web programming with Perl.
CGI is still a plausible option though. It has the benefit of simplicity (but
isn't the most efficient option).
[1] http://plackperl.org/
--
David D
/search?q=windows+cgi+howto
http://www.cgi101.com/book/
http://www.cgi101.com/book/connect/winxp.html
HTH,
David
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
e_tempfile' => 1
}, 'CGI' );
But the fourth case (ErrorDocument, POST) does not work as expected --
CGI.pm doesn't see the query parameters available on STDIN:
$0 =
'/home/dpchrist/sandbox/apache2/public_html/cgi.pm-get-post-errordocument/printcgi.pl';
@ARGV = ();
$STDIN = 'inputText=ErrorDocument+POST&inputSubmit=Submit+Query';
%ENV = (
'CONTENT_LENGTH' => '53',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'DOCUMENT_ROOT' => '/home/dpchrist/sandbox/apache2/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_ACCEPT' =>
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
'HTTP_CONNECTION' => 'keep-alive',
'HTTP_HOST' => 'apache2-sandbox-p43400e.holgerdanske.com',
'HTTP_KEEP_ALIVE' => '300',
'HTTP_REFERER' =>
'http://apache2-sandbox-p43400e.holgerdanske.com/cgi.pm-get-post-errordocument/',
'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.1.16) Gecko/20110302 Iceweasel/3.5.16 (like Firefox/3.5.16)',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'QUERY_STRING' => '',
'REDIRECT_REQUEST_METHOD' => 'POST',
'REDIRECT_STATUS' => '404',
'REDIRECT_URL' => '/cgi.pm-get-post-errordocument/nosuchfile.pl',
'REMOTE_ADDR' => '192.168.0.34',
'REMOTE_PORT' => '55220',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/cgi.pm-get-post-errordocument/nosuchfile.pl',
'SCRIPT_FILENAME' =>
'/home/dpchrist/sandbox/apache2/public_html/cgi.pm-get-post-errordocument/printcgi.pl',
'SCRIPT_NAME' => '/cgi.pm-get-post-errordocument/printcgi.pl',
'SERVER_ADDR' => '192.168.0.34',
'SERVER_ADMIN' => '[no address given]',
'SERVER_NAME' => 'apache2-sandbox-p43400e.holgerdanske.com',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => 'Apache/2.2.16 (Debian) Server
at apache2-sandbox-p43400e.holgerdanske.com Port 80
',
'SERVER_SOFTWARE' => 'Apache/2.2.16 (Debian)'
);
$q = bless( {
'.charset' => 'ISO-8859-1',
'.fieldnames' => {},
'.header_printed' => 1,
'.parameters' => [],
'escape' => 1,
'param' => {},
'use_tempfile' => 1
}, 'CGI' );
I would like the error handler script to be able to see the POST
parameters via CGI.pm.
Any suggestions?
TIA,
David
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
eable
javascript and retry";
exit;
}else
#move on
}
I'd look into the NOSCRIPT tag:
http://www.w3.org/TR/html4/interact/scripts.html#edef-NOSCRIPT
HTH,
David
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h..
Hi Bill, Eko,
Interesting question. I find that now I often use PHP and CMS options like
Joomla to handle tasks that 10 years ago I would have turned to Perl to
solve.
Panchroma Website Development
Moncton :: Riverview :: Dieppe
www.panchroma.ca
On Mon, Sep 20, 2010 at 10:50 PM, Eko Budiharto
perl that I use is:
> open (MAILHANDLE,"| mail $address -s \"$subject\" -- -F MyName \n");
Use an abstraction layer: http://search.cpan.org/perldoc?Email::Sender
http://search.cpan.org/perldoc?Email::Sender::Manual::QuickStart has an example
of what you want to do.
--
D
Hi,
When you run a script from shell it's probably as user 'you'.
When the script runs from a browser, it will be as user 'www' or something
similar, with restricted permissions. Your shell user will have more
permissions, so you might want to look at file permissions.
Also, you want to check
Naji, Khalid wrote:
How can I logout via a perl-script from Apache?
That depends on the authentication method used.
Usually it just comes down to "Stop sending your authentication data or
token with each request".
--
David Dorward
http://dorward.me.uk/
--
To unsubscri
:
http://search.cpan.org/~hkclark/Catalyst-Manual-5.7016/lib/Catalyst/Manual/Tutorial/Authentication.pod
--
David Dorward
http://dorward.me.uk/
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
data to server using the
CGI interface
8. Server sends output HTML back to the browser
Templates are used because it is easier to edit HTML in a template then
it is to edit Perl that generates HTML.
--
David Dorward
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For
s easy to edit
(and line 6 pulls a stylesheet in).
--
David Dorward
http://dorward.me.uk/
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
ng it up)
and replaces placeholders with the data (and has things to loop over
arrays when you have repeated data).
--
David Dorward
http://dorward.me.uk/
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
of the rest
of the site.
--
David Dorward <http://dorward.me.uk/>
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
leges.
http://httpd.apache.org/docs/1.3/suexec.html
--
David Dorward
http://dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
JuneEarth wrote:
> How to make CGI sessions to be shared among multi-webservers? Thanks.
They have to use a shared data store for the session information. Using
a database for that would be one approach.
--
David Dorward <http://dorward.me.uk/>
--
To un
at bit of the code, so it
is hard to say.
http://www.w3.org/TR/html4/interact/forms.html#h-17.3
You also appear to be using (which is deprecated) where you
should have a and your HTML is invalid due to a missing start
tag for a paragraph.
--
David Dorward
http://dorward.me.uk/
http:
ppear to be using an internal
feature of Apache to perform HTTP Basic Authentication. While it is
possible to perform HTTP Basic Authentication using a CGI script,
that isn't what you are doing.
You might have better luck on an Apache mailing list.
--
David Dorward
http://dorward.m
On Thu, 2007-11-08 at 11:22 -0800, neil wrote:
> $q -> popup_menu(-name => 'study_select', -values =>
> [EMAIL PROTECTED]),
You should be passing: -values => [EMAIL PROTECTED]
D.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl
something like:
use CGI::Carp qw/fatalsToBrowser/;
And see what comes up to your browser.
--
David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/
Yo te lo juro, de que por ley, aquí todas las boricuas saben karate.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
o learning CGI if I'm going to reach a point a few weeks down the
> road when I realize I should have taken a different approach.
Sure, why not.
--
David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/
Ahora buscas chamba por la Marquesa.
--
To unsubscribe, e-mail: [
ally a good thing: http://
www.webdevout.net/articles/beware-of-xhtml
... but I'll stick to Template-Toolkit
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
http://www.example.com/etc/passwd on practically any system.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
the image just a square box is displayed ..
So look at the server logs to see what the server thinks is happening
when the image is requested.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Shawn Hinchy wrote:
Hello all,
I am getting to the point where I need to start thinking about doing
pagination for search results.
I did some searches and it looks like there are some pagination modules,
but I am not quite interested in going that route yet. I am using a
handful of columns
gin.
You could also look at sending a content disposition of
attachment. http://www.ietf.org/rfc/rfc2183.txt
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
ppear it the CGI.pm
documentation ( http://search.cpan.org/~lds/CGI.pm-3.29/CGI.pm ).
--
David Dorward <http://dorward.me.uk/>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
would I work these into my application?
In what sense? There are plenty of things you /could/ do with PDF files
in a CGI app. What do you actually want to do?
--
David Dorward <http://dorward.me.uk/>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
emplate-Toolkit (or HTML::Template, or etc. etc. etc.).
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
ond form loads I get "Content-Type: text/html;
> charset=ISO-8859-1"
> strings :(
I haven't a clue why you would get that. You haven't provided enough
of your script.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
ng that it can't find it.
--
David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/
Lo poco que yo tengo lo gané con mi sudor.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
chen li wrote:
> Yes. I have a Ruby interpreter installed and it works
> fine for running Ruby scripts. But I am not sure why
> it is not available on the system PATH.
Do you run Ruby scripts from any directory on your Windows system?
--
David Moreno Garza <[EMAIL PROTEC
It gets a
lot of buzz, at least.)
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Tue, Dec 05, 2006 at 07:03:46PM -0700, David Bear wrote:
> Are there other methods to stuff arbitrary html elements into the head
> section?
You could use a template engine (Template-Toolkit is my preference,
HTML::Template is also popular, there are other options) instead of
generatin
27;}
to it.
Even if I could, I have multiple link rel statments I would hate for the
perl behavior to be the last assignment is the only assignment.
Are there other methods to stuff arbitrary html elements into the head
section?
--
--
David Bear
College of Public Programs at Arizona State University
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
cgi environment.
Any pointers?
--
--
David Bear
College of Public Programs at Arizona State University
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Bill Jones wrote:
> On 11/30/06, David Bear <[EMAIL PROTECTED]> wrote:
>
>> my $q = CGI->new();
>> my %params = $q->Vars;
>> foreach $f (keys (%params)) {
>>print "$f is $params{$f} ";
>> }
>
> use CGI;
>
> my $q
Wiggins d'Anconia wrote:
> David Bear wrote:
>> I'm trying to put a client side redirect with http-equiv refresh. I'm
>> using the syntax:
>>
>> my $req = CGI->new();
>>
>> print $req->header( "text/html" );
>> prin
gt;param and get
their value.
Any pointers?
--
David Bear
College of Public Programs at Arizona State University
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
'1;URL=' . $req-refere()}));
but I get an error:
Undefined subroutine %main::meta called
This seems to be what is documented on cpan. I must be missing something
simple. Any ideas?
--
David Bear
College of Public Programs at Arizona State University
--
To unsubscribe, e-mail: [EMAIL PR
25/CGI.pm#CREATING_A_FILE_UPLOAD_FIELD
http://search.cpan.org/~timb/DBI-1.53/DBI.pm
http://search.cpan.org/~danieltwc/DBIx-Class-0.07002/lib/DBIx/Class.pm
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Fri, Nov 10, 2006 at 03:05:48AM -0800, cool planet wrote:
> How , it is possible to download java applications (jad/jar) via
> perl - cgi ?
It is no different from downloading any other resource.
> can i see few examples ?
http://search.cpan.org/~gaas/libwww-perl-5.805/lib/LWP.pm
to
> goto another page in my system. In php I could use the
> header("Location: www.blah.com") todo this, is there anything like that
> in perl?
You can just print them directly (since CGI expects headers followed
by a blank line followed by message), or CGI.pm has a heade
I can get those with limited user input of month, day and year
only?
#!/usr/local/bin/perl
use POSIX;
$sec = 1;
$min = 0;
$hour = 0;
$mday = 01;
$mon = 10;
$year = 107;
$wday = ?;
$yday = ?;
$timestamp = mktime($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,-1);
print ($timestamp);
--
Da
testing for
$q->param('foo') eq 'baz' and falling over IE's problem of sending
"Bar" as the value.
... but you haven't provided anywhere near enough information about
the problem to say for sure. Real URL? HTML? Perl?
--
David Dorward
On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote:
> Why are there differences between the output of the CGI mentioned below
> which displays the content of $ENV{HOME} et $ENV{PATH}?
The environment the webserver runs is different to the environment
your shell runs.
--
David D
on from the
"Current" row. That information will have to go roundtrip out to the
user's browser and then back in to the server for a NEW invocation of
your program. Again, do not retrieve all of the rows unless you will
pass them all to the user WITHOUT another trip to the server.
program in
> exactly the same way: $q->param{'param'}.
Because CGI.pm is quite smart.
--
David Dorward <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
-- The Greatest Sho
and various special characters that replace spaces and ', and such?
Use the CGI module.
perldoc CGI
--
David Dorward <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
-- The Greate
parameter. If the parameter is multivalued (e.g. from
multiple selections in a scrolling list), you can ask to
receive an array. Otherwise the method will return a single
value.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EM
int $cgi->redirect('http://www.yahoo.com');
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
sing (which is unlikely).
> And now when I am calling the script:
> http://mysite.com/cgi-bin/index.cgi?cat=C_and_C++/Ad_Management
However, the "+" character _does_ have special meaning in URLs - it
represents a space character. You should URL encode the data you pull
from the d
q(Download my artwork);
...
Or, if you really want to use FTP:
...
print q(Download ftp://example.com/myfile.zip";>my artwork);
...
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
On Mon, Mar 13, 2006 at 07:30:45PM -0600, David Gilden wrote:
> Here is my little script and it throwing a Internal Server Error
Try running it from the command line:
Software error:
Missing right curly or square bracket at - line 13, at end of line
syntax error at - line 13, at
Greetings from Cow Tow!
Here is my little script and it throwing a Internal Server Error
#!/usr/bin/perl
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
use POSIX 'strftime';
use strict;
my $referer = referer;
if ($referer !~ m|^https?://www\.coraconnection\.com|i) {
pr
Hi Christian,
"Christian Stalp" <[EMAIL PROTECTED]> wrote:
> i try to create a table with HTML:Template
> for this I fill a array with hashes:
> while ( $zeile = $result->fetchrow_arrayref ) {
> $uebergabe{ name => $row->[0], link => $row->[1] };
> push ( @suchprofile, \%uebergabe );
> }
>
> But
ut then carry on and try to read the directory anyway?
> foreach $elem (@interrogabili)
> {
> next if $elem =~ /^\..*/;
> $elem = $home->param($elem);
> }
>
> Why the $home->param($elem) line doesn't work?
You don't define $home anywher
On Mon, 2006-02-06 at 22:28 -0600, David Gilden wrote:
> Just wanted hear opinions on how effective this is, as way of preventing
> email relaying stoping
> unauthorized use my script.
> This from a script that connects a page to sendmail
> my $referer = referer; # what
Greetings,
Just wanted hear opinions on how effective this is, as way of preventing email
relaying stoping
unauthorized use my script.
This from a script that connects a page to sendmail
#!/usr/bin/perl
use CGI qw/:standard/;
#..snip..
my $referer = referer; # what page called the scr
re i place the subdomain of the value domain2.com ?
{
name => 'domain2.com',
subdomain => 'www.domain2.com',
},
--
David Dorward <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
Holiday Greetings,
I copied this from a CGI web site, and while it does work,
I was wondering what folks with more experience in PERL thought of
this code.
Thanks for any comments,
Dave Gilden
#!/usr/bin/perl -w
use CGI qw/:standard/;
use CGI;
use Fcntl qw( :DEFAULT :flock );
use CGI::Carp qw(f
> use Mail::Sendmail;
I'm not familiar with Mail::Sendmail, but I'm betting that it replaces
the new line with an escape sequence. That has nothing to do with
CGI.pm.
--
David Dorward <http://dorward.me.uk/>
"Anybody remotely i
sage body).
Using a prewritten, well-tested formmailer (such as NMS) is a good way
to solve the problem.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
enter a "To,
> CC, or BCC" address.
Nor should you allow new lines ...
$subject = "User entered data with\nBCC: spam victim <[EMAIL PROTECTED]>"
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTE
actual filtering?). Nothing in your question is CGI
related, have you got this working as a command line script but are
having trouble converting it to work under CGI? What code have you got
so far?
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail:
e)
Its possible, but I find that building a data structure that represents
the page, then dropping it into a template (using Template-Toolkit of
HTML::Template) makes things more manageable.
--
David Dorward <http://dorward.me.uk/>
"Anybody remotely interesting is mad,
default of every browser I've
ever tried it with. In fact, its the default type mandated by the HTML
spec:
http://www.w3.org/TR/html4/interact/forms.html#form-content-type
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [E
$action eq 'search') ...
or
if (!defined $action) {
...
} elsif ($action eq 'search') {
...
}
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
atives.
Relative URLs?
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
best place to ask.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
n your specific needs.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
lt will be:
"" or "$var1" or "$var2" or "$var1,$var2"
You also have the inline if:
$result = ($var1 ne "" ? ($var2 ne "" ? "Both" : "Var1Only") : ($var2 ne ""
? " Var2Only " : "Neither");
$
On Wed, Sep 21, 2005 at 10:18:37AM -0400, Chris Devers wrote:
> On Wed, 21 Sep 2005, David Dorward wrote:
> > XHTML 1.1 is XHTML 1.0 Strict with Ruby added.
> Really?
Yes.
> As in the scripting language Ruby?
No. As in the Ruby Annotation language.
http://www.w3.org/T
ion. This should be in
addition to the link as JavaScript is optional, and meta refresh
isn't standardised.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<
avour of the better
supported HTML 4.01 (the Strict variant).
Using CSS for layout, HTML (or XHTML) for semantics, relationships and
structure, and JavaScript for behaviour is generally lumped under the
umbrella heading of "Standards based design".
--
David Dorward
pt. I've no idea why you would want
that functionality though. It sounds like a band-aid solution to more
serious underlying problem.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Link to a new frameset document.
Neither really involve Perl or CGI.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Mon, Sep 19, 2005 at 09:36:16AM -0500, Tony Frasketi wrote:
> 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
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
On Sat, 2005-09-10 at 01:44 -0500, David Gilden wrote:
>
> Choose type message
> my $mt = param('message type');
> if (length($mt) == 0) {
> This should only redirect it someone has not made a 'selection'
> what am I missing?
If the user truly has
The if statement below does not seem to work as expected//
Given in the HTML:
Choose type message
Comment about a recent performance or recording
Concert or Event Booking inquiry
Personal message
and in the perl:
#!/usr/local/bin/perl
use CGI qw/:standard/;
use strict;
#and other stuff...
quot;.
> Is there another way to do it
No
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
,
ported, and components can be shared with other developers ;-)
Please check it out, and I will be available for your questions.
Alex David
-
Start your day with Yahoo! - make it your home page
n't say, but usually a module which takes a file
can take either a filename or a filehandle.
If your only intention is to read it, then you might be better off
with get() instead of getstore().
--
David Dorward http://dorward.me.uk
--
To unsubscr
e HTTPS - and if you don't use
HTTPS then any password you send it going to be clear. The difference
here is that it is visible in the URL - and so exposed to the
look-over-the-user's-shoulder-in-the-real-world attack.
--
David Dorward http://dorward.me
).
You can use JavaScript to spawn a second window, although it might be
blocked by popup blockers (the specifics of such a solution are rather
off topic for this list though, so I'll suggest you look elsewhere if
you want to go down that path).
--
David Dorward
gt; The file is: $ENV{QUERY_STRING}.
Use CGI.pm. Don't try to access CGI related enviroment variables
directly. CGI.pm solves most of the problems you will run into
already.
>
>
>
You should pay a visit to http://validator.w3.org/
--
David Dorward
nline/Files.pm line 6.
Compilation failed in require at C:\temp\get_clearlicense.pl line 16.
BEGIN failed--compilation aborted at C:\temp\get_clearlicense.pl line
16.
I guess I am missing a Filter module, but there are numerous on the
CPAN. Which module should I download next?
Thanks & Regards
Dav
ser granting permission will let them escape the
sandbox. I wouldn't swear to it, I've done very little with applets.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ittedly, that's something like 90% of web
> users, but Firefox, in particular, seems to be growing fast now.
I seem to recall somebody managing to run ActiveX and IE under WINE :)
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail:
he server doesn't have permission to access the user's file
system over the Internet, and since that file system might be UNIX
type, DOC type, or some other unknown type - it isn't a particularly
useful feature to build into HTML.
--
David Dorward
: (\d+)/) {
$max_clearcase_licenses = $1;
} elsif ($_ =~ /Current active users: (\d+)/) {
$clearcase_licenses_used = $1;
}
}
close CLEARLICENSE;
However, I also need to filter out all the usernames under "User" column
and match them against a file that has a gr
the address bar and presses Enter, then the page is getting redirected to
> login page asking the user to login again.
I'm guessing you are passing everything as POST data? Use a session to
track where the user is at any given point, and return them there if
they revisit the page witho
_servers)
{
system ("reg add HKLM\\SOFTWARE\\Atria\\ClearCase\\CurrentVersion \/f
\/v LicenseHost \/t REG_SZ \/d \"$lic_serv\"");
system ("get_clearlicense.pl license.txt $lic_serv");
}
David Nazary
-Original Message-
From: Chris Devers [mailto:[E
ey are too complicated. Is
there an easier way to do this?
Thanks
David Nazary
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ximum hacker
> protection... comments?
Err... "Ha!"? (Code is only secure as the person who writes it, I find
it rather harder to write secure code in PHP, it doesn't come with
such sane features as, for example, DBI bind variables.)
--
David Dorward
On Sat, Jun 18, 2005 at 07:43:58PM +0200, Glauco Magnelli wrote:
> Excuse me, you're right. I want hide Perl code from
> other users of the server.
http://perlmonks.org/?node_id=423870
--
David Dorward http://dorward.me.uk
--
To unsubscr
On Sat, Jun 18, 2005 at 02:51:51PM +0200, Glauco Magnelli wrote:
> I would hide source code in my CGI Perl scripts.
Which source code (Perl, HTML?)? From whom (other users of the server,
visitors to the website?)?
--
David Dorward http://dorward.me
or: red; }
label { color: red; }
... should do the trick if the generated markup is good.
--
David Dorward http://dorward.me.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
u should consider that GET
is supposed to be used when retrieving any information from the server
and POST when you are changing something. (This has implications such
as GET being bookmarkable, and POST causing most browsers to warn
about resubmitting data).
--
David Dorward
1 - 100 of 466 matches
Mail list logo