I have a table on a form containing 2 columns - size type and size. Depending on the size type (Mens, womens, Youth) I want to change the set of sizes available (in an option box). I have been able to do this (in Mozilla - haven't tested in IE yet) for a single row, and have been able to set the size list for an indexed row but cannot figure out how to tell on which row the size type has been changed.
My function follows : (when I set j...
User Profile
Collapse
-
Find index of an array item on a form
-
Thanks Jeff
No I am not any the wiser - I had read all of that - through other sources. The insert of HTTP_REFERER into the HEAD was just another attempt to make it work - you have confirmed what I thought - that the variable is set (or not set) by the method of getting there - not by a specific setting in the calling program.
Yes I generated it with a Perl script using CGI? and a post rather than a get.
In any case, due... -
Sorry - forgot to get in the assignment statement that I have also tried in the <HEAD>
<HTTP_REFERER=" www.ottawaoc.ca ">
If you want to look at the code online, go to ottawaoca.ca/scgi-bin/COC_2008.pl
put in a name and a phone or email, click 'Enter indiv runners,' then 'enter participants', then put in a yob, then click on 'submit this entry' and finally on the red and white icon. The code behind the red...Leave a comment:
-
Sorry - forgot to get in the assignment statement that I have also tried in the <HEAD>
<HTTP_REFERER=" www.ottawaoc.ca ">...Leave a comment:
-
I loaded the page through a perl program - here is the start of the html it creates as well as the <form> post section
[code=html]
<HTML>
<HEAD>
<TITLE>ECOC Registration - OOC</TITLE>
here I have had <HTTP_REFERER
<style type="text/css"> some style stuff
</style>
</HEAD>
<BODY>...Leave a comment:
-
Can't get HTTP_REFERER
I can't seem to get the ENV variable HTTP_REFERER when posting with CGI from one program to another. In my post program I have put in the <HEAD>- ie www.xyz.com (I have also tried removing it entirely in case that was causing problems.Code:HTTP_REFERER =my host
I have tried to extract the HTTP_REFERER in my receiving program with
That didn't work so I just printed all...Code:$http_ref = $ENV{'HTTP_REFERER'}; -
Passing 2 dimensional array through CGI Post
I have a HTML form with a table to receive info about 6 persons. The information received is name, age, and 3 events - short, middle, and long.
I want to post this information to a Perl program in which I would prefer to have the 3 events put into a 2 dimensional array. So far I am using the 'param' function to assign my variables i.e.
I have tried...Code:my @name = param('name'); my @age = param('age');
No activity results to display
Show More
Leave a comment: