I hate to ask the obvious, but is your web server running on that box?
Scot R.
-Original Message-
From: Ian Rogers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 5:19 PM
To: [EMAIL PROTECTED]
Subject: cgi probs
Hi
I have set up my machine running suse linu
On Thu, 27 Jun 2002, Roger Spears opined:
RS:I'm working on a project that uses Perl/CGI to work with Databases. I
RS:have done this before with basic txt files and then I use 1000 lines of
RS:code to make them appear relational. What would be an easier way to
RS:achieve this? SQL?
yes, sql i
I'm working on a project that uses Perl/CGI to work with Databases. I
have done this before with basic txt files and then I use 1000 lines of
code to make them appear relational. What would be an easier way to
achieve this? SQL?
Can you use Perl/CGI to interact with a Microsoft Access Database
On Thu, 27 Jun 2002, [EMAIL PROTECTED] opined:
:With mine, there is nothing beyond what I described. The hash structure I gave you
:below, that's
:it. Form.pm takes the input, makes a hash with it, and if you understand how to use
:a hash and
:array ref, your set. Its just a hash, no objects
Hi
I have set up my machine running suse linux, and i am now trying to get cgi working. I
have written a html for to post the data and a basic cgi script to read in and print
out the results.
I have written cgi code on other machines so the code is correct, but i am having
trouble on my mach
No offence taken, I have heard the word hubris before, but I wasn't certain of the
meaning, so
naturally I looked it up (now that you mention it, I have heard that quote out of the
Camel book
before). At first I thought it was a compliment the way you said it and all, but
after seeing
dictiona
Oh, dear, I was afraid that that message might be
misinterpreted! I thought my humor was evident enough
by the informal language, but I guess I should have
put a smiley on it too.
I didn't mean hubris in a bad sense. The sense I get
from Larry's use of it (from reading the Camel book),
and the se
What I'm trying to do is print the contents of helpdesk/support.cgi when
c2=hd
Here is that portion of the script and as of right now it is displaying a
blank page when I
try to run it:
my $c1 = param('c1');
my $content1 = "c1";
if ($c1 eq "h") {
$content1 = qq{ \n};
} elsif ($c1 eq "eh") {
It depends on what "include" is.
If it is a subroutine...
$content2 = include("helpdesk/support.cgi");
If it is a hash...
$content2 = $include{"helpdesk/support.cgi"};
And what was the error?
Rob
-Original Message-
From: Kyle Babich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, J
> -Original Message-
> From: Kyle Babich [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 3:49 PM
> To: [EMAIL PROTECTED]
> Subject: invalid
>
>
> Why is this invalid and how do I make this valid while using
> strict subs?
>
> } elsif ($c2 eq "hd") {
> $content2 = inclu
Why is this invalid and how do I make this valid while using strict subs?
} elsif ($c2 eq "hd") {
$content2 = include{helpdesk/support.cgi};
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
True. Whew, my hand hurts from all that extra typing. ;)
Scot R.
-Original Message-
From: John Brooking [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 1:50 PM
To: Scot Robnett; [EMAIL PROTECTED]
Cc: Felix Geerinckx
Subject: RE: CGI.pm v/s roll-your-own [WAS:] Displaying Probl
That actually has nothing to do with it. It has everything to do with the strong
desire to improve
circumstances, be innovative, make the world a better place. If you want to call me
arrogant for
trying to improve my surroundings, go right ahead, but your tacking the wrong name on
me.
David
After all, Hubris is one of St. Larry's Three Cardinal
Virtues! So this seems to me to be a properly Perl-ish
attitude.
- John
--- [EMAIL PROTECTED] wrote:
> ...
> minded here, I'm just the type of person who if I'm
> not perfectly happy with the way something works
> (whether programming or in
See?! Your version just expanded by 50% !! ;-)
--- Scot Robnett <[EMAIL PROTECTED]> wrote:
> Picky, picky. :)
> You're right, my bad.
>
> use CGI;
> my $q = new CGI;
> my %params = $q->Vars;
=
"Now it's over, I'm dead, and I haven't done anything that I want; or, I'm still
alive, and the
by the way, :) is a smiley, it means I'm joking with you. (reference the last email)
With mine, there is nothing beyond what I described. The hash structure I gave you
below, that's
it. Form.pm takes the input, makes a hash with it, and if you understand how to use a
hash and
array ref, your
I haven't seen the rest of your module, so I'm not so sure that the point
really stands. It might. But, adding one line to initialize the CGI object
is really not that big a deal considering the kind of power you have
associated with that object. How much extra work do I have to do to utilize
the
my point stands :)
So out of curiosity, what kind of data structure do you get back with this? If its as
I would
imagine, then its very close to my own.
%hash = (
'a_name' => 'value', # for single name value pairs
'b_name' => ["multiple", "values", "for", "this"], # for single name
You make a very good point fliptop, I did forget the nature of this mailing list. As
far as CGI.pm
debating, I will step down in this mailing list.
David
- Original Message -
From: "fliptop" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Bob Showalter" <[EMAIL PROTECTED]>; <[EMAIL
The difference is, the efficiency and data structure CGI.pm returns. Mine came to
I think 72
times faster when not uploading images, and 2.5 times faster when uploading images.
I'm not saying
CGI.pm is written poorly or anything, I am saying that it is a little bit bloated and
has a lot o
On Thursday, June 27, 2002, at 12:07 , Felix Geerinckx wrote:
> on Wed, 26 Jun 2002 22:56:23 GMT, [EMAIL PROTECTED] (Drieux) wrote:
>
>> We keep tossing around these 'map' tricks -
>> and I was wondering why we do not put them up in
>> the
>>
>> BEGIN {
>> %in = map { $_ => 1} qw(
On Wednesday, June 26, 2002, at 07:11 , Octavian Rasnita wrote:
[..]
I'm not sure I get what your real problem here is:
> if I use:
>
> use LWP::Simple;
> print head(http://localhost/index.shtml);
>
> This prints:
> text/plain; charset=ISO-8859-1Apache/2.0.36 (Win32)
>
> I have problems because
Picky, picky. :)
You're right, my bad.
use CGI;
my $q = new CGI;
my %params = $q->Vars;
SR
-Original Message-
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:16 AM
To: [EMAIL PROTECTED]
Subject: RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems
Brain,
Thanks for the direction! I really need to learn more about regex. I will
certainly read those!
Kristofer
Original Message Follows
From: Brian <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Extract numbers from in between parentheses with re
24 matches
Mail list logo