ssi_test.cgi<html> <head> <title>ssi demo</title> </head> <body> <h1>ssi demo</h1> <!--#include virtual="ssi_test.cgi?q=hi!"--> </body> </html>
output#!/usr/bin/perl use strict; use warnings; use CGI::Simple; my $q = CGI::Simple->new; print $q->header; my $param = $q->param('q'); print qq|<h1>$param</h1>|;
ssi demo hi!
In reply to Re: Passing data via URL in include
by wfsp
in thread Passing data via URL in include
by i_am_jeers_colon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |