php forum
php mysql forum
php mysql smarty
 
Topic Options
#101204 - 09/13/00 06:08 PM action!
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
OKEY DOKEY
I'd like to do some (or all) of my site in cgi, for a few reasons which I dont feel like saying.

Anyway, I need to know about actions. I can do simple prints, and if/else/elsif and all that....but, not this.

so basically, I want people to go to index.cgi, but then, to sign up for the mailing list, they would be taken to "index.cgi?action=mailing". Simple? No?

as always, any help would be appreciated.

I asked zanardi, but apparently he is busy.

------------------
<FONT size="1">-david
booey booey bashaka khans® lach de zuperrier
</FONT s>

Top
#101205 - 09/13/00 06:58 PM Re: action!
Mark Badolato Offline
P.I.T.A. / Programmer

Registered: 09/08/00
Posts: 836
Loc: Land O' Cactus
Use the CGI.pm module.

#!/usr/bin/perl

use CGI qw/:standard/;

$action = param('action');

if ($action eq 'mailing') {
# do stuff
}

--mark

------------------
_________________________
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks