Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 138
Em8
Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 138
http://opena.virtualave.net/cgi-bin/multi.cgi

===========================================
#!/usr/local/bin/perl

# You need Cgi.pm

use CGI::Carp qw(fatalsToBrowser);
use CGI qw(:standard);

$q = new CGI;
$a = param('action');
$n = $q->param('Mul');
$m = $q->param('Mult');
$final = $n * $m;
print $q->header;
print $q->start_html;

if ($a eq "mul"){
&main;
}
if ($a eq ""){
&here;
}

sub here{
print $q->start_form;
print "n";
print $q->textfield(-name=>'Mul');
print " x ";
print $q->textfield(-name=>'Mult');
print " ",$q->submit;

}

sub main{
&here;
print "


$n x $m = $final ";

}

print $q->end_html;

============================================
it realy works! I guess buying that $50(*cough* $49.95 [Linked Image]) O'Realy book helped!

Sponsored Links
Entire Thread
Subject Posted By Posted
a script (that to your surprise DOES work) Em8 11/06/2000 3:10 AM
Re: a script (that to your surprise DOES work) Flare945 11/06/2000 3:31 AM
Re: a script (that to your surprise DOES work) Em8 11/06/2000 3:36 AM
Re: a script (that to your surprise DOES work) zanardi 11/07/2000 1:19 AM
Re: a script (that to your surprise DOES work) Em8 11/07/2000 7:03 AM
Re: a script (that to your surprise DOES work) zanardi 11/07/2000 11:11 PM
Re: a script (that to your surprise DOES work) Em8 11/07/2000 11:43 PM
Re: a script (that to your surprise DOES work) Wartortle 11/08/2000 12:36 AM
Re: a script (that to your surprise DOES work) Em8 11/08/2000 4:23 AM
Re: a script (that to your surprise DOES work) Mark Badolato 11/08/2000 5:08 AM
Re: a script (that to your surprise DOES work) zanardi 11/08/2000 5:33 AM
Re: a script (that to your surprise DOES work) Em8 11/08/2000 11:20 PM
Re: a script (that to your surprise DOES work) Mark Badolato 11/09/2000 12:15 AM
Re: a script (that to your surprise DOES work) Wartortle 11/09/2000 12:53 AM
Re: a script (that to your surprise DOES work) empire 11/09/2000 4:52 AM
Re: a script (that to your surprise DOES work) Wartortle 11/10/2000 12:30 AM
Re: a script (that to your surprise DOES work) Wartortle 11/10/2000 1:14 AM
Re: a script (that to your surprise DOES work) Wartortle 11/10/2000 4:35 AM
Re: a script (that to your surprise DOES work) Greg Hard 11/11/2000 2:36 AM
Re: a script (that to your surprise DOES work) Wartortle 11/11/2000 3:13 AM
Re: a script (that to your surprise DOES work) Greg Hard 11/11/2000 3:28 AM
Re: a script (that to your surprise DOES work) Em8 11/11/2000 3:41 PM
Re: a script (that to your surprise DOES work) Wartortle 11/11/2000 5:36 PM
Re: a script (that to your surprise DOES work) eon 11/12/2000 1:55 AM
Re: a script (that to your surprise DOES work) joebagodonuts 11/12/2000 2:06 AM
Re: a script (that to your surprise DOES work) The Team 11/12/2000 2:22 AM
Re: a script (that to your surprise DOES work) Ghoste 11/12/2000 2:48 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)