[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Using CGI::Application and SHTML/SSI pages?


Brett Sanger wrote:
> how do you pass parameters to an HTML page?

If you hit the URL  http://foo/?bar=4&baz=quux
and the index.shtml does <!--include virtual="foo.cgi?$QUERY_STRING" -->
then the CGI parameters are passed as you'd expect.  I would need to
check the exact SSI syntax when I get home, but I've done this before.

I also need to look back into how to deal with GET vs POST, as I'd not
want to have a massive hashy URL after a complex form.

At this stage, I'm not committed to SSI, but it's more comfortable to
me than writing bottom-up by transforming templates into presentation.
I value others' impressions which have so far been offered.

[ e d  h a l l e y ]----------------------------------------------------

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.