|
In lugnet.publish, Bram Lambrecht writes:
> "Dan Boger" <dan@wwind.com> writes:
> > In lugnet.publish, Bram Lambrecht writes:
> > > mattdm@mattdm.org (Matthew Miller) writes:
> > > > Bram Lambrecht <BramL@JUNO.com> wrote:
> > > > > Is there a way to do this? Using just SSI?
> > > >
> > > > I don't think so. You'll need to use CGI.
> > >
> > > Time to learn Perl, then. Will the stuff after the ? be
> > > automatically intrepreted as stdin?
> >
> > not that easily - it's a "get" form, so it'll all be on the
> > commandline, I think, but you'll still have to decode it
> > (?xxx=yyy&aaa=bbb etc) also decode stuff like %20 to spaces...
> > much easier to use the CGI module to parse it all
> > for you an put it in nice happy variables :)
>
> I figured that much. Does this mean I could also just format it like
> this:
> /space/space.shtml?viper
> since I'll prolly only have the one variable? Could I also name the ssi
> file index.shtml and call it like this:
> /space/?viper
yup, you could do that, easy... also (cooler, imo):
/space/viper
and have it call the "space" script with the viper arg :)
Look at:
http://www.giccs.georgetown.edu/cgi-bin/dan/inv
and it's subdirectories...
:)
Dan
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|