> How do I capture:
>
They are in %ENV.
In this example, $ENV{'file'} is set to 'home'.
And do not add query string (?file=home) after the file name
in #include directive:
Omi Kikuchi
[EMAIL PROTECTED]
_
Do You Yahoo!?
Get your free @
Hey Steven,
Try this:
Then you can pull it from the %ENV hash.
Shawn
> There is one thing left, and I've tried Omi's suggestion, but I'm not sure
> how to capture the name/value pair or parameter in my Perl program.
>
> How do I capture:
>
>
> -or-
>
>
>
> I've tried capturing it in @ARGV
First off. Thanks everyone. Your help has been invaluable and I've finally
gotten the CGI to execute. It was a cross between server configuration and
docroot and permissions.
There is one thing left, and I've tried Omi's suggestion, but I'm not sure
how to capture the name/value pair or parameter
Hello KeN,
Friday, December 14, 2001, KeN ClarK <[EMAIL PROTECTED]> wrote:
KC> i've looked through 'learning perl' 2nd edition, and am confused. much. i
KC> want to create an interface for system users to update their .forward
KC> files in their $HOME directories.
KC> I want this to be a web-
--- KeN ClarK <[EMAIL PROTECTED]> wrote:
> i've looked through 'learning perl' 2nd edition, and am confused. much. i
> want to create an interface for system users to update their .forward
> files in their $HOME directories.
>
> I want this to be a web-based interface. The webmail program I am
i've looked through 'learning perl' 2nd edition, and am confused. much. i
want to create an interface for system users to update their .forward
files in their $HOME directories.
I want this to be a web-based interface. The webmail program I am using is
openwebmail, and doesn't have this functi
Your HTML, while it has some issues, should get the job done. However, you should get
in the
habit of quoting your attribute values:
Should be:
Sooner or later, failure to quote those values will bite you if you get a value with
angle
brackets (<>), white space, or other things th
I have a situation where I have a list of items with radio buttons attached
to each row of data. I would like to select a specific radio button attached
to a specific row of data and pass data elements contained in that row to
the next page.
Here is the html code for the initial screen. At the bot
Hi,
On Thu, 13 Dec 2001, Steven Vargas wrote:
> I'm trying to run a Perl program in my .shtml file using this directive:
>
>
> I know includes work, because we're using them already. And, I've already
> got one CGI application running, but this is the first one using an SSI
> directive.
Web se
Thanks for the reply, Peter.
What I have done now is this:
test.cgi:
our %FORM;
$FORM{'region'} = 2;
$FORM{'mode'} = "SSI";
do ("/path/to/otherscript.cgi);#
print qq|And this is some other code|;
otherscript.cgi:
if ($FORM{'region'} == 2) { #do stuff;}
.
if ($FORM{'mode'} eq "SSI") { # do
You should probably take a look at 'do'. If you 'do' another perl program
it will get the callers @ARGV, so if you set this up appropriately you
should be good. I ran a quick benchmark on the two, here's what I got.
Benchmark: timing 1000 iterations of do, system...
do: 3 wallclock secs (
Why not use MySql to start with? It's free and it works!
If you want to work with MySql I assume you don't have access to any
mainstream proprietary software, e.g. Oracle, MS SQL. If you do what's wrong
with using theme indefinitely?
If you don't want to start out with MySql it really depends on
12 matches
Mail list logo