Forum Home
Press F1
 
Thread ID: 50800 2004-11-02 03:01:00 Does any one here know CGI/Perl? (ASAP) stu120404 (268) Press F1
Post ID Timestamp Content User
286940 2004-11-03 06:35:00 Well, you missed the deadline Stu, what are the implications?

And is it still important to fix? Or a "Now or never" kind of thing.

I would have to say, due to my lack of CGI experience, trial and error would be the way to go.

Start with the line you suggested in your first post. Or have you already tried that? If so, or if you get no luck, try various logical variations of it, based on other similar lines that do work.

And don't listen to whtafo, we don't mind you bumping. He says he could have answered you before, but chose not to, because he finds it more entertaining to post sarcastic comments and attack typo's? A good slap on the wrist WTF.

HTH, George
george12 (7)
286941 2004-11-03 07:31:00 > And don't listen to whtafo, we don't mind you
> bumping. He says he could have answered you before,
> but chose not to, because he finds it more
> entertaining to post sarcastic comments and attack
> typo's? A good slap on the wrist WTF.

So when did you get deputised?
whtafo (156)
286942 2004-11-03 07:34:00 eh, look. An argument already. mejobloggs (264)
286943 2004-11-03 07:41:00 Didn't mean any insult WTF.

Just trying to help Stu. Helping is the point of PF1 is it not?

George
george12 (7)
286944 2004-11-03 07:48:00 As far as my knowledge goes, checkboxes return something as simple as true/false (or yes/no, on/off, 1/0, etc).

So outputting this should be no difficult feat. Perhaps an If...Then statement is required?
agent (30)
286945 2004-11-03 07:57:00 > Didn't mean any insult WTF.

Bwahaha. Seriously? If so you might want to slot in a few people skills courses.
whtafo (156)
286946 2004-11-03 08:35:00 > And don't listen to whtafo, we don't mind you
> bumping.

Please don't speak for me.
segfault (655)
286947 2004-11-04 09:01:00 > Why don't you just try adding what you thought it was
> and test it?
>
> print MAIL "Field Title: $form{'inputname'}\n\n";
>
> i.e.:
>
> print MAIL "My Partners Credit is:
> $form{'rateyourpartnerscredit'}\n\n";

My idea did not work :(

> That should be all you need to do, though it's over
> dramatised as it is. Most standard form2mails will
> just take whatever you throw at them and parse it out
> with the input name and the inputted value without
> having to manually specify everything.

Not this script :(, as for some reason it is not parsing the Checkboxs & Radiobutions :(
stu120404 (268)
286948 2004-11-04 09:03:00 > I've not used Perl in a while but I think you need
> something along the lines of
>
> @offerforsecurity = param("offerforsecurity");
> for $i (@offerforsecurity)
> {
> print MAIL "Offer For Security: $i\n\n";
> }

That gave me a 500 Internal Server Error :(
stu120404 (268)
286949 2004-11-04 09:04:00 > As far as my knowledge goes, checkboxes return
> something as simple as true/false (or yes/no, on/off,
> 1/0, etc).
>
> So outputting this should be no difficult feat.
> Perhaps an If...Then statement is required?

Your talking to a Perl newbe here ;)

How would I do that ?
stu120404 (268)
1 2 3 4